Merge pull request #87 from matthewlloyd/open

The 'open' method requires an options dictionary
This commit is contained in:
Lorenzo Pichilli 2019-05-22 16:19:22 +02:00 committed by GitHub
commit 9b0265267d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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);
} }