currently emerges a problem with this browser extension for Android: I
don’t see in the native menu and in PageActions to Firefox for
Android, the voice and icon associated “Detect my Device”. Firefox
version 45 is that used on my tablet Samsung Android 4.4.2. This is main file of extension: https://addons.mozilla.org/it/android/files/browse/424674/file/index.js and I used High Level APIs
Please,
Someone can tell me if I have used correctly NativeWindow.menu.add and
PageActions API fennec in index.js file of my add-on Device Detect?
It might be const recent = utils.getMostRecentBrowserWindow();
It may be the caching. I know when I did an android addon a bit ago that even though it seemed like there was one window, it would close and open again (without having exited). There was some funkiness where I had to use Services.wm.getMostRecentBrowser('navigator:browser')