Skip to content

Commit

Permalink
Merge pull request #87 from matthewlloyd/open
Browse files Browse the repository at this point in the history
The 'open' method requires an options dictionary
  • Loading branch information
pichillilorenzo authored May 22, 2019
2 parents e457b9f + 9831637 commit 9b02652
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/flutter_inappbrowser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ class InAppBrowser {
args.putIfAbsent('isData', () => false);
args.putIfAbsent('openWithSystemBrowser', () => true);
args.putIfAbsent('useChromeSafariBrowser', () => false);
args.putIfAbsent('options', () => {});
return await _ChannelManager.channel.invokeMethod('open', args);
}

Expand Down

0 comments on commit 9b02652

Please sign in to comment.