Any example of creating a WebExtensionController instance to be used with latest GeckView (>=v73)

Release notes for GeckoView v73 state the following:

⚠️ WebExtension’s constructor now requires a WebExtensionController instance.

But I cannot find any example how to do that. Your help is highly appreciated.

Any help on the topic. I simply cannot find any information on this.

@acrolink Do you still have issues with this?

1 Like

The solution is do something like this:

WebExtension extension = new WebExtension("resource://android/assets/messaging/", runtime.getWebExtensionController());

@acrolink Thank you for sharing your solution - much appreciated!

This topic was automatically closed after 166 days. New replies are no longer allowed.