-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[webview_flutter] Adds support to receive permission requests #3543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
48d4c9d
4ad0174
a51decc
c6880bb
896ce9b
f2f6f2a
d7a54d0
38a727d
44a0c2e
8588900
631cfb8
4505f04
df40eca
83c428a
e58ea0d
07c3ac1
c8466f4
e0801bc
da4a45f
bfd6f27
e63f3e9
09eea9a
c7606bb
10ef24c
d516b34
85f2b56
5fbca14
482b7c1
a291c52
fb2b779
eeff573
7a9a039
356e8ad
4800b3a
fd3af75
7570c5b
8946b87
23121e5
7d71719
6717cf4
d566b5e
8e39a28
922028e
e592ae1
adc7f3c
9a57b03
96b1515
bfe3d64
44aaf7e
4f4c253
bef6efa
f155afb
f8b2691
68610f1
07a074b
a33ea19
0638c30
d9c4a6e
a6496b8
fd13fce
ec80236
b065c45
535374b
b8a409f
ba07eb1
8715691
520bf59
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,7 +45,9 @@ class WebViewController { | |
| /// | ||
| /// `onPermissionRequest`: Sets a callback that notifies the host application | ||
| /// that web content is requesting permission to access the specified | ||
| /// resources. | ||
| /// resources. Apps that attempt to access device resources will most likely | ||
| /// require additional platform=specific steps for acquiring permission from | ||
| /// the user. | ||
|
||
| /// | ||
| /// See [WebViewController.fromPlatformCreationParams] for setting parameters | ||
| /// for a specific platform. | ||
|
|
@@ -61,7 +63,9 @@ class WebViewController { | |
| /// | ||
| /// `onPermissionRequest`: Sets a callback that notifies the host application | ||
| /// that web content is requesting permission to access the specified | ||
| /// resources. | ||
| /// resources. Apps that attempt to access device resources will most likely | ||
| /// require additional platform=specific steps for acquiring permission from | ||
| /// the user. | ||
bparrishMines marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| /// | ||
| /// {@template webview_flutter.WebViewCookieManager.fromPlatformCreationParams} | ||
| /// Below is an example of setting platform-specific creation parameters for | ||
|
|
@@ -101,7 +105,9 @@ class WebViewController { | |
| /// | ||
| /// `onPermissionRequest`: Sets a callback that notifies the host application | ||
| /// that web content is requesting permission to access the specified | ||
| /// resources. | ||
| /// resources. Apps that attempt to access device resources will most likely | ||
| /// require additional platform=specific steps for acquiring permission from | ||
| /// the user. | ||
|
||
| WebViewController.fromPlatform( | ||
| this.platform, { | ||
| void Function(WebViewPermissionRequest request)? onPermissionRequest, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: = should be -