Confirmed users, Bureaucrats and Sysops emeriti
2,088
edits
Karen ward (talk | contribs) |
(→FAQ) |
||
| Line 1: | Line 1: | ||
==FAQ== | ==FAQ== | ||
===What can be customized?=== | |||
* Brand | * Brand | ||
| Line 48: | Line 38: | ||
** Browser default bookmarks | ** Browser default bookmarks | ||
===How and where do you define a customized app grid layout?=== | |||
* It's currently in gaia/apps/homescreen/js/init.json | * It's currently in gaia/apps/homescreen/js/init.json | ||
===Is it possible to define whether an app is removable in the homescreen configuration?=== | |||
* No. All apps that are in /system/b2g are non removable, those in /data are removable. Since all preloaded apps come from /system, we need to move them to /data if we want them to be removable. | * No. All apps that are in /system/b2g are non removable, those in /data are removable. Since all preloaded apps come from /system, we need to move them to /data if we want them to be removable. | ||
===How do you add a preloaded packaged app to the build?=== | |||
* In gaia/external-apps | * In gaia/external-apps | ||
* Many 3rd party apps will not be added to the Gaia repo, so need to determine how to add them. Build step? | * Many 3rd party apps will not be added to the Gaia repo, so need to determine how to add them. Build step? | ||
===How do you add a preloaded hosted app to the build?=== | |||
* They are also added to gaia/external-apps. We have different meta-data for packaged and hosted apps to distinguish them. | * They are also added to gaia/external-apps. We have different meta-data for packaged and hosted apps to distinguish them. | ||
===How do you prepare a preloaded hosted app for initial offline support?=== | |||
* You need to provide all the files to cache in the directory external-apps/MY_APP/cache, and the appcache manifest. | * You need to provide all the files to cache in the directory external-apps/MY_APP/cache, and the appcache manifest. | ||
===What Marketplace Customizations Are Possible?=== | |||
* On-device | |||
** The customization on the device regarding payments is limited to populating a whitelist of payment providers. There are a couple prefs for this, documented here https://wiki.mozilla.org/WebAPI/WebPayment#Testing | |||
** For example, Mozilla B2G phones will ship with our implementation of the payment provider (https://github.com/mozilla/webpay#readme) in a whitelist so that it is accessible to the Marketplace and third party apps for in-app purchases via navigator.mozPay(). Some more info on providers is here https://wiki.mozilla.org/WebAPI/WebPaymentProvider | |||
** If any carrier wants to implement their own payment processor and whitelist it, they are free to do so. However, the Firefox Marketplace is only configured to enable purchases through Mozilla's payment provider at this time. | |||
* On-server | |||
** None of currency, regional taxation, L10N is controlled by device configs (yet). The merchant app sets a price point for the product and Mozilla's backend payment processor chooses the currency based on the user's network. | |||
** In the future we may have a device setting to store the user's preferred currency or something like that. | |||
===How do I package and store per-market customization changes?=== | |||
* Store each of the files changed only. | |||
* Currently these are in various locations in the filesystem. | |||
* For v2, we should consolidate to a single location, similar to the branding directories we have for Gecko. | |||
===How do you build the product with a specific market's configuration?=== | |||
* Copy your changed files into a checkout of Gaia, and build using that modified Gaia. | |||
==Process Questions== | ==Process Questions== | ||