Skip to content

Commit

Permalink
Update in_app_webview.dart
Browse files Browse the repository at this point in the history
Added missing `contextMenu` and `windowId` creation params for Android Hybrid Composition
  • Loading branch information
pichillilorenzo authored Aug 27, 2020
1 parent 0db8d13 commit cb77151
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/in_app_webview.dart
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,9 @@ class _InAppWebViewState extends State<InAppWebView> {
'initialFile': widget.initialFile,
'initialData': widget.initialData?.toMap(),
'initialHeaders': widget.initialHeaders,
'initialOptions': widget.initialOptions?.toMap() ?? {}
'initialOptions': widget.initialOptions?.toMap() ?? {},
'contextMenu': widget.contextMenu?.toMap() ?? {},
'windowId': widget.windowId
},
creationParamsCodec: const StandardMessageCodec(),
)
Expand Down

0 comments on commit cb77151

Please sign in to comment.