Hello!

I’m working on preparing to land the FlyWeb developer preview which will ship 
pref’d off by default on Nightly. All of the user-facing UI is being 
implemented via system add-ons for both Desktop and Fennec. I have a 
preliminary patch for Fennec posted here:

https://bugzilla.mozilla.org/show_bug.cgi?id=1265442 
<https://bugzilla.mozilla.org/show_bug.cgi?id=1265442>

Because we will be only shipping this pref’d off to Nightly for the time being, 
any updates to the system add-on will be delivered through the app itself. As a 
result, I need a way to extract system add-on XPI files from the APK’s 
“/assets/features” directory to the application’s data directory so that Gecko 
can install it properly. My preliminary patch is already performing this file 
extraction operation correctly, but it is doing it on every app launch. I only 
need this to happen on first launch or whenever the app is updated.

One idea proposed was to set up a new receiver such as what is already being 
done with the `WhatsNewReceiver`: 
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/AndroidManifest.xml.in#241
 
<http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/AndroidManifest.xml.in#241>

Any suggestions would be greatly appreciated! Thanks!

-Justin

_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to