Mobile/Distribution Files: Difference between revisions

Jump to navigation Jump to search
→‎Testing a distribution locally: Note new --with-android-distribution-directory (Bug 1163082)
(→‎Testing a distribution locally: Note new --with-android-distribution-directory (Bug 1163082))
Line 201: Line 201:
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
* To create a repackaged distribution:
* To create a repackaged distribution:
** Put your distribution folder at <code>objdir/dist/bin/distribution</code>
** For '''Firefox for Android 47 and later''':
** Run <code>./mach package</code> to package the app
*** Your distribution folder contents should be at:
***:<pre>/path/to/fennec-distribution-sample/assets/distribution</pre>
*** Add a line like the following to your mozconfig:
***:<pre>ac_add_options --with-android-distribution-directory=/path/to/fennec-distribution-sample</pre>
*** Make sure you have run <code>./mach configure</code> before building and packaging
*** See {{bug|1163082}} for details.
** For '''Firefox for Android 46 and earlier''':
*** Put your distribution folder at <code>objdir/dist/bin/distribution</code>
*** 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
* 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
Confirmed users
355

edits

Navigation menu