From 1df609b789025d4790090d35761baded661b027a Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Tue, 3 Dec 2019 00:25:31 +0100 Subject: [PATCH] updated docs --- .idea/workspace.xml | 144 ++++++++++++++---------------------- lib/src/in_app_webview.dart | 9 ++- pubspec.yaml | 2 +- 3 files changed, 62 insertions(+), 93 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 10429288..c5068312 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -15,52 +15,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -97,8 +52,17 @@ - - + + + + + + + + + + + @@ -106,8 +70,8 @@ - - + + @@ -130,8 +94,8 @@ - - + + @@ -178,9 +142,9 @@ BAAAAACK loadData iNitialData - pauseTimers historyUrl data + pauseTimers activity.getPreferences(0) @@ -240,7 +204,6 @@ @@ -526,7 +490,7 @@ - + @@ -537,7 +501,7 @@ - + @@ -545,7 +509,7 @@ - + @@ -819,13 +783,6 @@ - - - - - - - @@ -871,13 +828,6 @@ - - - - - - - @@ -899,16 +849,6 @@ - - - - - - - - - - @@ -929,13 +869,6 @@ - - - - - - - @@ -950,10 +883,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + diff --git a/lib/src/in_app_webview.dart b/lib/src/in_app_webview.dart index 45c4dac2..8b0c2ab7 100755 --- a/lib/src/in_app_webview.dart +++ b/lib/src/in_app_webview.dart @@ -1704,7 +1704,10 @@ class InAppWebViewController { await _channel.invokeMethod('resume', args); } - ///Pauses all layout, parsing, and JavaScript timers for all WebViews. This is a global requests, not restricted to just this WebView. This can be useful if the application has been paused. + ///On Android, it pauses all layout, parsing, and JavaScript timers for all WebViews. + ///This is a global requests, not restricted to just this WebView. This can be useful if the application has been paused. + /// + ///On iOS, it is restricted to just this WebView. Future pauseTimers() async { Map args = {}; if (_inAppBrowserUuid != null && _inAppBrowser != null) { @@ -1714,7 +1717,9 @@ class InAppWebViewController { await _channel.invokeMethod('pauseTimers', args); } - ///Resumes all layout, parsing, and JavaScript timers for all WebViews. This will resume dispatching all timers. + ///On Android, it resumes all layout, parsing, and JavaScript timers for all WebViews. This will resume dispatching all timers. + /// + ///On iOS, it resumes all layout, parsing, and JavaScript timers to just this WebView. Future resumeTimers() async { Map args = {}; if (_inAppBrowserUuid != null && _inAppBrowser != null) { diff --git a/pubspec.yaml b/pubspec.yaml index 6f40e6dc..023217a8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_inappwebview description: A Flutter plugin that allows you to add an inline webview or open an in-app browser window. -version: 2.1.0 +version: 2.1.0+1 author: Lorenzo Pichilli homepage: https://github.com/pichillilorenzo/flutter_inappwebview