Skip to content

Latest commit

 

History

History
57 lines (33 loc) · 2.09 KB

firefox-for-android.md

File metadata and controls

57 lines (33 loc) · 2.09 KB

Firefox for Android

Firefox for Android is capable of running the same extensions as desktop version.

It makes it very useful for IPFS experimentation.

Install

Install Firefox for Android

All channels are available at Google Play Store:

Install IPFS Companion

See README/#install. Developers can also test the latest code locally on emulator or via USB on own device (see below).

Hot-deploy over USB

To run your extension in Firefox for Android, follow these instructions:

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.

Debugging in Firefox for Android

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.

References