You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, when I used geckoview to load html under local assets, I tried to call the WebExtensionController.install method to load a remote or local signed xpi file.
In the callback of onInstallPrompt, I manually returned GeckoResult.allow()
The log shows that the extension was installed successfully, similar to Extension installed: WebExtension {location=resource://android/assets/aaa.xpi, [email protected], flags=0},
but this flags=0 means that I cannot Call browser.runtime.connectNative("xxx")
I have already specified the required permissions when making xpi in the manifest.json
Hello everyone, when I used geckoview to load html under local assets, I tried to call the WebExtensionController.install method to load a remote or local signed xpi file.
In the callback of onInstallPrompt, I manually returned GeckoResult.allow()
The log shows that the extension was installed successfully, similar to
Extension installed: WebExtension {location=resource://android/assets/aaa.xpi, [email protected], flags=0},
but this
flags=0
means that I cannot Callbrowser.runtime.connectNative("xxx")
I have already specified the required permissions when making xpi in the
manifest.json
The strange thing is that if I directly use the source code for making xpi, this problem will not occur.
The text was updated successfully, but these errors were encountered: