Skip to content

Commit

Permalink
feat(android): add custom plugins to BridgeFragment (#3280)
Browse files Browse the repository at this point in the history
  • Loading branch information
fkirc authored Jul 20, 2020
1 parent f7767cf commit d131a5f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ protected void init(Bundle savedInstanceState) {
loadConfig(this.getActivity().getApplicationContext(), this.getActivity());
}

public void addPlugin(Class<? extends Plugin> plugin) {
this.initialPlugins.add(plugin);
}

/**
* Load the WebView and create the Bridge
*/
Expand Down

0 comments on commit d131a5f

Please sign in to comment.