From fe532cb8dae69b50817defc7f2a9ac191d150abe Mon Sep 17 00:00:00 2001 From: terrier989 Date: Wed, 29 Mar 2023 20:26:23 +0100 Subject: [PATCH] v0.7.4: Fixes a few issues. --- .flutter-plugins-dependencies | 2 +- .gitignore | 20 +- CHANGELOG.md | 7 +- README.md | 16 +- example/pubspec.lock | 2 +- lib/src/web_browser/browser_controller.dart | 13 +- pubspec.lock | 426 ++++++++++++++++++++ pubspec.yaml | 2 +- 8 files changed, 468 insertions(+), 20 deletions(-) create mode 100644 pubspec.lock diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies index b5010d0..a87cb04 100644 --- a/.flutter-plugins-dependencies +++ b/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider_foundation","path":"/Users/me/.pub-cache/hosted/pub.dev/path_provider_foundation-2.1.3/","native_build":true,"dependencies":[]},{"name":"share_plus","path":"/Users/me/.pub-cache/hosted/pub.dev/share_plus-6.3.1/","native_build":true,"dependencies":[]},{"name":"webview_flutter_wkwebview","path":"/Users/me/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.2.1/","native_build":true,"dependencies":[]}],"android":[{"name":"path_provider_android","path":"/Users/me/.pub-cache/hosted/pub.dev/path_provider_android-2.0.24/","native_build":true,"dependencies":[]},{"name":"share_plus","path":"/Users/me/.pub-cache/hosted/pub.dev/share_plus-6.3.1/","native_build":true,"dependencies":[]},{"name":"webview_flutter_android","path":"/Users/me/.pub-cache/hosted/pub.dev/webview_flutter_android-3.4.2/","native_build":true,"dependencies":[]}],"macos":[{"name":"path_provider_foundation","path":"/Users/me/.pub-cache/hosted/pub.dev/path_provider_foundation-2.1.3/","native_build":true,"dependencies":[]},{"name":"share_plus","path":"/Users/me/.pub-cache/hosted/pub.dev/share_plus-6.3.1/","native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/me/.pub-cache/hosted/pub.dev/path_provider_linux-2.1.10/","native_build":false,"dependencies":[]},{"name":"share_plus","path":"/Users/me/.pub-cache/hosted/pub.dev/share_plus-6.3.1/","native_build":false,"dependencies":["url_launcher_linux"]},{"name":"url_launcher_linux","path":"/Users/me/.pub-cache/hosted/pub.dev/url_launcher_linux-3.0.4/","native_build":true,"dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/me/.pub-cache/hosted/pub.dev/path_provider_windows-2.1.5/","native_build":false,"dependencies":[]},{"name":"share_plus","path":"/Users/me/.pub-cache/hosted/pub.dev/share_plus-6.3.1/","native_build":true,"dependencies":["url_launcher_windows"]},{"name":"url_launcher_windows","path":"/Users/me/.pub-cache/hosted/pub.dev/url_launcher_windows-3.0.5/","native_build":true,"dependencies":[]}],"web":[{"name":"share_plus","path":"/Users/me/.pub-cache/hosted/pub.dev/share_plus-6.3.1/","dependencies":["url_launcher_web"]},{"name":"url_launcher_web","path":"/Users/me/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.16/","dependencies":[]},{"name":"webview_flutter_web","path":"/Users/me/.pub-cache/hosted/pub.dev/webview_flutter_web-0.2.2+1/","dependencies":[]}]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"share_plus","dependencies":["url_launcher_web","url_launcher_windows","url_launcher_linux"]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]},{"name":"webview_flutter","dependencies":["webview_flutter_android","webview_flutter_wkwebview"]},{"name":"webview_flutter_android","dependencies":[]},{"name":"webview_flutter_web","dependencies":[]},{"name":"webview_flutter_wkwebview","dependencies":[]}],"date_created":"2023-03-17 01:26:57.731155","version":"3.7.7"} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider_foundation","path":"/Users/me/.pub-cache/hosted/pub.dev/path_provider_foundation-2.1.3/","native_build":true,"dependencies":[]},{"name":"share_plus","path":"/Users/me/.pub-cache/hosted/pub.dev/share_plus-6.3.1/","native_build":true,"dependencies":[]},{"name":"webview_flutter_wkwebview","path":"/Users/me/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.2.1/","native_build":true,"dependencies":[]}],"android":[{"name":"path_provider_android","path":"/Users/me/.pub-cache/hosted/pub.dev/path_provider_android-2.0.24/","native_build":true,"dependencies":[]},{"name":"share_plus","path":"/Users/me/.pub-cache/hosted/pub.dev/share_plus-6.3.1/","native_build":true,"dependencies":[]},{"name":"webview_flutter_android","path":"/Users/me/.pub-cache/hosted/pub.dev/webview_flutter_android-3.4.2/","native_build":true,"dependencies":[]}],"macos":[{"name":"path_provider_foundation","path":"/Users/me/.pub-cache/hosted/pub.dev/path_provider_foundation-2.1.3/","native_build":true,"dependencies":[]},{"name":"share_plus","path":"/Users/me/.pub-cache/hosted/pub.dev/share_plus-6.3.1/","native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/me/.pub-cache/hosted/pub.dev/path_provider_linux-2.1.10/","native_build":false,"dependencies":[]},{"name":"share_plus","path":"/Users/me/.pub-cache/hosted/pub.dev/share_plus-6.3.1/","native_build":false,"dependencies":["url_launcher_linux"]},{"name":"url_launcher_linux","path":"/Users/me/.pub-cache/hosted/pub.dev/url_launcher_linux-3.0.4/","native_build":true,"dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/me/.pub-cache/hosted/pub.dev/path_provider_windows-2.1.5/","native_build":false,"dependencies":[]},{"name":"share_plus","path":"/Users/me/.pub-cache/hosted/pub.dev/share_plus-6.3.1/","native_build":true,"dependencies":["url_launcher_windows"]},{"name":"url_launcher_windows","path":"/Users/me/.pub-cache/hosted/pub.dev/url_launcher_windows-3.0.5/","native_build":true,"dependencies":[]}],"web":[{"name":"share_plus","path":"/Users/me/.pub-cache/hosted/pub.dev/share_plus-6.3.1/","dependencies":["url_launcher_web"]},{"name":"url_launcher_web","path":"/Users/me/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.16/","dependencies":[]},{"name":"webview_flutter_web","path":"/Users/me/.pub-cache/hosted/pub.dev/webview_flutter_web-0.2.2+1/","dependencies":[]}]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"share_plus","dependencies":["url_launcher_web","url_launcher_windows","url_launcher_linux"]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]},{"name":"webview_flutter","dependencies":["webview_flutter_android","webview_flutter_wkwebview"]},{"name":"webview_flutter_android","dependencies":[]},{"name":"webview_flutter_web","dependencies":[]},{"name":"webview_flutter_wkwebview","dependencies":[]}],"date_created":"2023-03-29 20:21:40.810622","version":"3.7.8"} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 96486fd..24476c5 100644 --- a/.gitignore +++ b/.gitignore @@ -22,9 +22,23 @@ migrate_working_dir/ #.vscode/ # Flutter/Dart/Pub related -# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. -/pubspec.lock **/doc/api/ +**/ios/Flutter/.last_build_id .dart_tool/ +.flutter-plugins +.flutter-plugins-dependencies .packages -build/ +.pub-cache/ +.pub/ +/build/ + +# Symbolication related +app.*.symbols + +# Obfuscation related +app.*.map.json + +# Android Studio will place build artifacts here +/android/app/debug +/android/app/profile +/android/app/release diff --git a/CHANGELOG.md b/CHANGELOG.md index 93105a1..d3c784b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.7.4 +* Fixes web behavior and improves cookie/cache/localStorage clearing implementation. + ## 0.7.3 * Improves documentation @@ -9,9 +12,7 @@ * Improves documentation ## 0.7.0 -* Allows cookies, caches, and local storage to be cleared with a static method in BrowserController. - By default, they are cleared when the app is started and when more than 24h is the from the last - clearing. +* Allows cookie/cache/localStorage to be cleared with a static method in BrowserController. ## 0.6.1 * Small fixes. diff --git a/README.md b/README.md index f37259f..c3f8e41 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Licensed under the [Apache License 2.0](LICENSE). In _pubspec.yaml_: ```yaml dependencies: - web_browser: ^0.7.3 + web_browser: ^0.7.4 ``` ## 2.Display web browser @@ -118,21 +118,23 @@ void main() { ``` ## Cache clearing -For privacy reasons, the package clears persistent state every now and then. This includes: +For end-users privacy, it is good to clear: * Cookies * Caches * Local storage -You can disable this behavior in your `main` function: +You can enable this by setting: ```dart import 'package:web_browser/web_browser.dart'; void main() { - // Disables clearing when the app is started - BrowserController.resetGlobalStateAtStart = false; + // Clear when the app is started + BrowserController.resetGlobalStateAtStart = true; - // Disables expiration. - BrowserController.globalStateExpiration = null; + // Clear every now and then. + BrowserController.globalStateExpiration = const Duration(days: 1); + + // ... } ``` diff --git a/example/pubspec.lock b/example/pubspec.lock index 01a2508..761027a 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -371,7 +371,7 @@ packages: path: ".." relative: true source: path - version: "0.6.0" + version: "0.7.3" webview_flutter: dependency: transitive description: diff --git a/lib/src/web_browser/browser_controller.dart b/lib/src/web_browser/browser_controller.dart index a142b9a..bb1c252 100644 --- a/lib/src/web_browser/browser_controller.dart +++ b/lib/src/web_browser/browser_controller.dart @@ -24,19 +24,18 @@ import '../../web_browser.dart'; class BrowserController extends ChangeNotifier { /// How often [BrowserController.clearEverything] should be called. /// - /// If null, the cache is never cleaned. The default is currently 1 day, but - /// we could make it shorter or longer in a future version. + /// If null, the cache is never cleared automatically. /// /// This is a global variable because the underlying platform APIs don't have /// good support for per-browser clearing. /// /// See also [resetGlobalStateAtStart]. - static Duration? globalStateExpiration = const Duration(days: 1); + static Duration? globalStateExpiration; static final _globalStateExpirationStopwatch = Stopwatch()..start(); /// Whether [BrowserController.clearEverything] is called after starting the /// app. - static bool resetGlobalStateAtStart = true; + static bool resetGlobalStateAtStart = false; static int _globalStateVersion = 0; static Future? _stateClearingFuture; @@ -312,6 +311,9 @@ class BrowserController extends ChangeNotifier { /// Checks whether the cache should be cleared. Future _maybeClearState() async { + if (kIsWeb) { + return; + } if (_globalStateVersion == 0 && resetGlobalStateAtStart) { await clearEverything(); } else { @@ -347,6 +349,9 @@ class BrowserController extends ChangeNotifier { /// Clears all persistent state, including cookies, caches, and local /// storage. static Future clearEverything() async { + if (kIsWeb) { + return; + } // Combine multiple calls into one. return _stateClearingFuture ??= () async { try { diff --git a/pubspec.lock b/pubspec.lock new file mode 100644 index 0000000..f208089 --- /dev/null +++ b/pubspec.lock @@ -0,0 +1,426 @@ +# Generated by pub +# See https://dart.dev/tools/pub/glossary#lockfile +packages: + async: + dependency: transitive + description: + name: async + sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0 + url: "https://pub.dev" + source: hosted + version: "2.10.0" + boolean_selector: + dependency: transitive + description: + name: boolean_selector + sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" + url: "https://pub.dev" + source: hosted + version: "2.1.1" + characters: + dependency: transitive + description: + name: characters + sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c + url: "https://pub.dev" + source: hosted + version: "1.2.1" + clock: + dependency: transitive + description: + name: clock + sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf + url: "https://pub.dev" + source: hosted + version: "1.1.1" + collection: + dependency: transitive + description: + name: collection + sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0 + url: "https://pub.dev" + source: hosted + version: "1.17.0" + cross_file: + dependency: transitive + description: + name: cross_file + sha256: "0b0036e8cccbfbe0555fd83c1d31a6f30b77a96b598b35a5d36dd41f718695e9" + url: "https://pub.dev" + source: hosted + version: "0.3.3+4" + crypto: + dependency: transitive + description: + name: crypto + sha256: aa274aa7774f8964e4f4f38cc994db7b6158dd36e9187aaceaddc994b35c6c67 + url: "https://pub.dev" + source: hosted + version: "3.0.2" + cupertino_icons: + dependency: "direct main" + description: + name: cupertino_icons + sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be + url: "https://pub.dev" + source: hosted + version: "1.0.5" + fake_async: + dependency: transitive + description: + name: fake_async + sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" + url: "https://pub.dev" + source: hosted + version: "1.3.1" + ffi: + dependency: transitive + description: + name: ffi + sha256: a38574032c5f1dd06c4aee541789906c12ccaab8ba01446e800d9c5b79c4a978 + url: "https://pub.dev" + source: hosted + version: "2.0.1" + file: + dependency: transitive + description: + name: file + sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d" + url: "https://pub.dev" + source: hosted + version: "6.1.4" + flutter: + dependency: "direct main" + description: flutter + source: sdk + version: "0.0.0" + flutter_lints: + dependency: "direct dev" + description: + name: flutter_lints + sha256: aeb0b80a8b3709709c9cc496cdc027c5b3216796bc0af0ce1007eaf24464fd4c + url: "https://pub.dev" + source: hosted + version: "2.0.1" + flutter_test: + dependency: "direct dev" + description: flutter + source: sdk + version: "0.0.0" + flutter_web_plugins: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" + js: + dependency: transitive + description: + name: js + sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7" + url: "https://pub.dev" + source: hosted + version: "0.6.5" + lints: + dependency: transitive + description: + name: lints + sha256: "5e4a9cd06d447758280a8ac2405101e0e2094d2a1dbdd3756aec3fe7775ba593" + url: "https://pub.dev" + source: hosted + version: "2.0.1" + matcher: + dependency: transitive + description: + name: matcher + sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72" + url: "https://pub.dev" + source: hosted + version: "0.12.13" + material_color_utilities: + dependency: transitive + description: + name: material_color_utilities + sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 + url: "https://pub.dev" + source: hosted + version: "0.2.0" + meta: + dependency: transitive + description: + name: meta + sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42" + url: "https://pub.dev" + source: hosted + version: "1.8.0" + mime: + dependency: transitive + description: + name: mime + sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e + url: "https://pub.dev" + source: hosted + version: "1.0.4" + path: + dependency: transitive + description: + name: path + sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b + url: "https://pub.dev" + source: hosted + version: "1.8.2" + path_provider: + dependency: transitive + description: + name: path_provider + sha256: "04890b994ee89bfa80bf3080bfec40d5a92c5c7a785ebb02c13084a099d2b6f9" + url: "https://pub.dev" + source: hosted + version: "2.0.13" + path_provider_android: + dependency: transitive + description: + name: path_provider_android + sha256: "019f18c9c10ae370b08dce1f3e3b73bc9f58e7f087bb5e921f06529438ac0ae7" + url: "https://pub.dev" + source: hosted + version: "2.0.24" + path_provider_foundation: + dependency: transitive + description: + name: path_provider_foundation + sha256: "026b97a6c29da75181a37aae2eba9227f5fe13cb2838c6b975ce209328b8ab4e" + url: "https://pub.dev" + source: hosted + version: "2.1.3" + path_provider_linux: + dependency: transitive + description: + name: path_provider_linux + sha256: "2ae08f2216225427e64ad224a24354221c2c7907e448e6e0e8b57b1eb9f10ad1" + url: "https://pub.dev" + source: hosted + version: "2.1.10" + path_provider_platform_interface: + dependency: transitive + description: + name: path_provider_platform_interface + sha256: "57585299a729335f1298b43245842678cb9f43a6310351b18fb577d6e33165ec" + url: "https://pub.dev" + source: hosted + version: "2.0.6" + path_provider_windows: + dependency: transitive + description: + name: path_provider_windows + sha256: f53720498d5a543f9607db4b0e997c4b5438884de25b0f73098cc2671a51b130 + url: "https://pub.dev" + source: hosted + version: "2.1.5" + platform: + dependency: transitive + description: + name: platform + sha256: "4a451831508d7d6ca779f7ac6e212b4023dd5a7d08a27a63da33756410e32b76" + url: "https://pub.dev" + source: hosted + version: "3.1.0" + plugin_platform_interface: + dependency: transitive + description: + name: plugin_platform_interface + sha256: "6a2128648c854906c53fa8e33986fc0247a1116122f9534dd20e3ab9e16a32bc" + url: "https://pub.dev" + source: hosted + version: "2.1.4" + process: + dependency: transitive + description: + name: process + sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09" + url: "https://pub.dev" + source: hosted + version: "4.2.4" + share_plus: + dependency: "direct main" + description: + name: share_plus + sha256: "8c6892037b1824e2d7e8f59d54b3105932899008642e6372e5079c6939b4b625" + url: "https://pub.dev" + source: hosted + version: "6.3.1" + share_plus_platform_interface: + dependency: transitive + description: + name: share_plus_platform_interface + sha256: "82ddd4ab9260c295e6e39612d4ff00390b9a7a21f1bb1da771e2f232d80ab8a1" + url: "https://pub.dev" + source: hosted + version: "3.2.0" + sky_engine: + dependency: transitive + description: flutter + source: sdk + version: "0.0.99" + source_span: + dependency: transitive + description: + name: source_span + sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 + url: "https://pub.dev" + source: hosted + version: "1.9.1" + stack_trace: + dependency: transitive + description: + name: stack_trace + sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + url: "https://pub.dev" + source: hosted + version: "1.11.0" + stream_channel: + dependency: transitive + description: + name: stream_channel + sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + url: "https://pub.dev" + source: hosted + version: "2.1.1" + string_scanner: + dependency: transitive + description: + name: string_scanner + sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + url: "https://pub.dev" + source: hosted + version: "1.2.0" + term_glyph: + dependency: transitive + description: + name: term_glyph + sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 + url: "https://pub.dev" + source: hosted + version: "1.2.1" + test_api: + dependency: transitive + description: + name: test_api + sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206 + url: "https://pub.dev" + source: hosted + version: "0.4.16" + typed_data: + dependency: transitive + description: + name: typed_data + sha256: "26f87ade979c47a150c9eaab93ccd2bebe70a27dc0b4b29517f2904f04eb11a5" + url: "https://pub.dev" + source: hosted + version: "1.3.1" + url_launcher_linux: + dependency: transitive + description: + name: url_launcher_linux + sha256: "206fb8334a700ef7754d6a9ed119e7349bc830448098f21a69bf1b4ed038cabc" + url: "https://pub.dev" + source: hosted + version: "3.0.4" + url_launcher_platform_interface: + dependency: transitive + description: + name: url_launcher_platform_interface + sha256: "6c9ca697a5ae218ce56cece69d46128169a58aa8653c1b01d26fcd4aad8c4370" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + url_launcher_web: + dependency: transitive + description: + name: url_launcher_web + sha256: "81fe91b6c4f84f222d186a9d23c73157dc4c8e1c71489c4d08be1ad3b228f1aa" + url: "https://pub.dev" + source: hosted + version: "2.0.16" + url_launcher_windows: + dependency: transitive + description: + name: url_launcher_windows + sha256: a83ba3607a507758669cfafb03f9de09bf6e6280c14d9b9cb18f013e406dcacd + url: "https://pub.dev" + source: hosted + version: "3.0.5" + uuid: + dependency: transitive + description: + name: uuid + sha256: "648e103079f7c64a36dc7d39369cabb358d377078a051d6ae2ad3aa539519313" + url: "https://pub.dev" + source: hosted + version: "3.0.7" + vector_math: + dependency: transitive + description: + name: vector_math + sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" + url: "https://pub.dev" + source: hosted + version: "2.1.4" + webview_flutter: + dependency: "direct main" + description: + name: webview_flutter + sha256: b6cd42db3ced5411f3d01599906156885b18e4188f7065a8a351eb84bee347e0 + url: "https://pub.dev" + source: hosted + version: "4.0.6" + webview_flutter_android: + dependency: "direct main" + description: + name: webview_flutter_android + sha256: c849dcb6bf7367f696869006fb9575c15bdc6a1d624ae13f12de5a147a740b12 + url: "https://pub.dev" + source: hosted + version: "3.4.2" + webview_flutter_platform_interface: + dependency: transitive + description: + name: webview_flutter_platform_interface + sha256: "1939c39e2150fb4d30fd3cc59a891a49fed9935db53007df633ed83581b6117b" + url: "https://pub.dev" + source: hosted + version: "2.1.0" + webview_flutter_web: + dependency: "direct main" + description: + name: webview_flutter_web + sha256: "78494dd1be4b5b3070140cbdcc138b9736aa4619f00643f909da6d54f0ffc141" + url: "https://pub.dev" + source: hosted + version: "0.2.2+1" + webview_flutter_wkwebview: + dependency: "direct main" + description: + name: webview_flutter_wkwebview + sha256: ab12479f7a0cf112b9420c36aaf206a1ca47cd60cd42de74a4be2e97a697587b + url: "https://pub.dev" + source: hosted + version: "3.2.1" + win32: + dependency: transitive + description: + name: win32 + sha256: c9ebe7ee4ab0c2194e65d3a07d8c54c5d00bb001b76081c4a04cdb8448b59e46 + url: "https://pub.dev" + source: hosted + version: "3.1.3" + xdg_directories: + dependency: transitive + description: + name: xdg_directories + sha256: ee1505df1426458f7f60aac270645098d318a8b4766d85fde75f76f2e21807d1 + url: "https://pub.dev" + source: hosted + version: "1.0.0" +sdks: + dart: ">=2.18.0 <3.0.0" + flutter: ">=3.7.0" diff --git a/pubspec.yaml b/pubspec.yaml index aa1dd40..7f04dd2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: web_browser -version: 0.7.3 +version: 0.7.4 description: A web browser widget. Unlike webview_flutter, comes with cross-platform navigation and URL sharing widgets. Works in Android, iOS, browsers, and other platforms.