Firefox for Android is capable of running the same extensions as desktop version.
It makes it very useful for IPFS experimentation.
All channels are available at Google Play Store:
See README/#install
.
Developers can also test the latest code locally on emulator or via USB on own device (see below).
To run your extension in Firefox for Android, follow these instructions:
- Set up your computer and Android emulator or device (enable Developer Mode, USB Debugging etc)
With device connected to your development computer, run:
web-ext run -s add-on --target=firefox-android
It will list all connected devices with their IDs. If the list is empty, go back to the setup step.
Next, deploy extension to the specific device:
web-ext run -s add-on --target=firefox-android --android-device=<device ID>
The first time you run this command there may be a popup on your Android device asking if you want to grant access over USB.
Remote debug port will be printed to console right after successful deployment:
You can connect to this Android device on TCP port <debug PORT>
The fastest way to connect is to open chrome://devtools/content/framework/connect/connect.xhtml
in Firefox the same machine you run web-ext
from.