Skip to content

Install the app on the device using Firefox Web IDE

jose pita edited this page May 28, 2020 · 3 revisions
  1. Download Firefox version 49.0.1 https://archive.mozilla.org/pub/firefox/releases/49.0.1/
  2. Make sure you don’t have any other installations of Firefox or change the name of the file once it’s installed
  3. Once Firefox is installed
  • Disable the internet on your computer
  • Open Firefox
  • Open the preferences
  • go to advanced
  • disable the updates
  • Turn your internet back on
  • Quit Firefox
  1. Connect your kaios device to your computer
  2. Open the terminal and run “adb devices. It should show your device on a list, if it doesn’t do these steps
  3. Run “adb forward tcp:6000 localfilesystem:/data/local/debugger-socket” on the terminal
  4. Open Firefox, go to tools->web developer->WebIDE
  5. Click on “Remote Runtime” on the right side bar
  6. Check that the port is the same as the one you put on the “adb forward” command, should be “localhost:6000” and click OK. Ignore the “the connected runtime” error that shows
  7. Click on “Open packaged app” on the left side bar
  8. Select the folder where you have your app installed. Make sure you run npm i && npm run build before this step
  • If you get a “TypeError: IDB._db is null" error, you need to:
  • Quit Firefox first
  • Then delete the folder in the path /Users/YOURUSERNAME/Library/Application Support/Firefox.
  • This usually happens when you have more than one Firefox installation.
  • If you delete this folder you need to disconnect from the internet again and go to preferences and disable the updates once you open Firefox again
  1. At this point you should be able to see something like this in the browser This means the process went well and you are now ready to install the app
  2. To install the app you just need to press play on top-center of the browser This error will appear but ignore it, the app will be installed in a couple of minutes
  3. To be sure that the app is installed make sure to look at your device, the app should open when it’s installed **BONUS: if you want to inspect the app like you would a website on the browser devtools:
  • Quit firefox
  • Open firefox
  • Click “Remote Runtime”
  • Click OK
  • Under RUNTIME APPS on the left side bar it should appear “Wikipedia”
  • If you click this, a debugging session will start and you have access to everything you would have on a browser debugging session
Clone this wiki locally