Merge pull request #87 from matthewlloyd/open
The 'open' method requires an options dictionary
This commit is contained in:
commit
9b0265267d
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue