B2G/MarketCustomizations: Difference between revisions

No edit summary
Line 70: Line 70:


=== calendar ===
=== calendar ===
Calendar provider information. Specifying your own Google Oauth credentials is required.  
Calendar provider information. Specifying your own Google Oauth credentials is required.
 
we need `Calendar CalDav` API but not `Calendar` API, which is only available for whitelist developer.
The limit is 1,000,000/day.
 
It means if vendors want to use their account to generate the API key,
they need to applied this form first to get access permission to `Calendar CalDav` API
https://developers.google.com/google-apps/calendar/caldav
 
After google add their account into whitelist, vendors are able to get Key for `Calendar CalDav`.
 
 
Steps:
 
1. (Use OEM's account) enter API console
https://code.google.com/apis/console/b/0
 
2. create a project, enable `calendar caldev API` in `service` tab
 
3. click `API Access` tab
 
4. click `Create an OAuth 2.0 client ID`, Add Product name & logo (will shown in calendar google account authentication page)
 
5. select `Application type` to `Installed application`, `Other`, then create the key.
 
6. Click `edit settings`
change `Authorized Redirect URIs` to 'https://oauth.gaiamobile.org/authenticated'
 
7. change client ID and Client secret to customize build's `calendar.json` file


=== contacts ===
=== contacts ===
Confirmed users
681

edits