From b8379e05db529ee166bebf03f0bdb89f683bd129 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 28 Jul 2021 16:18:41 +1000 Subject: [PATCH] Update to allow android 30 (and newer) to open HTTPS links Ref: https://medium.com/flutter-community/package-visibility-for-url-launcher-on-android-11-api-30-7c03cbce76a5 --- android/app/src/main/AndroidManifest.xml | 11 +++++++++++ lib/l10n | 2 +- pubspec.lock | 2 +- pubspec.yaml | 2 +- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index dc125db9..20c7e6c3 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -6,6 +6,15 @@ In most cases you can leave this as-is, but you if you want to provide additional functionality it is fine to subclass or reimplement FlutterApplication and put your custom class here. --> + + + + + + + + + @@ -43,4 +52,6 @@ + + \ No newline at end of file diff --git a/lib/l10n b/lib/l10n index 5889c960..b1cbc0de 160000 --- a/lib/l10n +++ b/lib/l10n @@ -1 +1 @@ -Subproject commit 5889c96004c734ac81a9c67002e75fe477f632cd +Subproject commit b1cbc0ded4c29c84f5714e73872d5c665b2265e0 diff --git a/pubspec.lock b/pubspec.lock index e78def2d..36087b02 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -627,7 +627,7 @@ packages: name: url_launcher url: "https://pub.dartlang.org" source: hosted - version: "6.0.0" + version: "6.0.9" url_launcher_linux: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 4e67d0eb..f2d01846 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -31,7 +31,7 @@ dependencies: flutter_speed_dial: ^3.0.5 # FAB menu elements sentry_flutter: 5.0.0 # Error reporting image_picker: ^0.8.0 # Select or take photos - url_launcher: 6.0.0 # Open link in system browser + url_launcher: 6.0.9 # Open link in system browser flutter_markdown: ^0.6.2 # Rendering markdown camera: # Camera path_provider: 2.0.1 # Local file storage