Mobile/Distribution Files: Difference between revisions

No edit summary
Line 197: Line 197:


== Testing a distribution locally ==
== Testing a distribution locally ==
Note: you need a clean install. If you have already run Firefox, go to settings and clear the app's data
'''Note''': you need a clean install. If you have already run Firefox, go to settings and clear the app's data
 
=== APK distribution ===
* To create a repackaged distribution:
* To create a repackaged distribution:
** For '''Firefox for Android 47 and later''':
** For '''Firefox for Android 47 and later''':
Line 211: Line 213:
*** Run <code>./mach package</code> to package the app
*** Run <code>./mach package</code> to package the app
** When the app is launched, the distribution files will be copied out to <code>/data/data/org.mozilla.fennec_yourname/distribution</code>, and they will override a ROM image distribution if it is present
** When the app is launched, the distribution files will be copied out to <code>/data/data/org.mozilla.fennec_yourname/distribution</code>, and they will override a ROM image distribution if it is present
=== System distribution ===
* To create a ROM image distribution, follow these steps with a rooted phone:
* To create a ROM image distribution, follow these steps with a rooted phone:
** Copy the distribution files to a writable location
** Copy the distribution files to a writable location
118

edits