From b0224c748a57b7c96cfffe06e6ef10c7060c209b Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Thu, 28 Nov 2019 02:32:03 +0100 Subject: [PATCH] Added onPermissionRequest event (available only on Android) --- .idea/workspace.xml | 415 ++++++++++-------- CHANGELOG.md | 4 + README.md | 1 + .../InAppWebViewChromeClient.java | 51 +++ .../android/app/src/main/AndroidManifest.xml | 6 + example/lib/in_app_webiew_example.screen.dart | 146 +++--- example/lib/main.dart | 14 +- lib/src/in_app_webview.dart | 18 + lib/src/types.dart | 40 +- pubspec.yaml | 2 +- 10 files changed, 420 insertions(+), 277 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 508bddfe..1c02934b 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -15,7 +15,16 @@ + + + + + + + + + @@ -35,13 +44,12 @@ - + - - + + - @@ -49,11 +57,34 @@ + + + + + + + + + + + + + + + + + + + + + + + - - + + @@ -62,26 +93,17 @@ - + - - + + - + - - - - - - - - - @@ -94,24 +116,9 @@ - OnLoadHttpError - ONnaviga - InAppWebViewOnNavigationChangeTest - InAppWebViewOnReceivedHttpAuthRequestTest - .css - InAppWebViewOnSafeBrowsingHitTest - InAppWebViewHttpAuthCredentialDatabaseTest - InAppWebViewOnFindResultReceivedTest - InAppWebViewOnProgressChangedTest - nextTest - clear - InAppWebViewOnConsoleMessageTest - Change: InAppWebViewOnScrollChangedTest for Android - Event fired an re - Event fires only for Android. isOpened initialScale @@ -124,6 +131,21 @@ ##### loadFile window. + onLoadHttpError + microphone + Action + Action { + Action action; + Response { + 'action': this.action + : this.action + this. + onPermissionRequest + Event fired + Event fires + onSafe + Response({ + onPermission activity.getPreferences(0) @@ -142,14 +164,10 @@ @@ -207,17 +229,6 @@ - - - - - - - - - + + + + + + + + +