Commit 9b026526 authored by Lorenzo Pichilli's avatar Lorenzo Pichilli Committed by GitHub

Merge pull request #87 from matthewlloyd/open

The 'open' method requires an options dictionary
parents e457b9fc 98316371
...@@ -294,6 +294,7 @@ class InAppBrowser { ...@@ -294,6 +294,7 @@ class InAppBrowser {
args.putIfAbsent('isData', () => false); args.putIfAbsent('isData', () => false);
args.putIfAbsent('openWithSystemBrowser', () => true); args.putIfAbsent('openWithSystemBrowser', () => true);
args.putIfAbsent('useChromeSafariBrowser', () => false); args.putIfAbsent('useChromeSafariBrowser', () => false);
args.putIfAbsent('options', () => {});
return await _ChannelManager.channel.invokeMethod('open', args); return await _ChannelManager.channel.invokeMethod('open', args);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment