Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Mobile App showing how to implement OAuth 2.0 with Google API on Phonegap with Childbrowser
JavaScript
branch: master

This branch is 1 commit behind liquidlabs:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
www
.gitattributes
.gitignore
howto.md
readme.md

readme.md

Implementing OAuth 2.0 with Google API in Phonegap / ChildBrowser

The code demonstrates how to implement OAuth 2.0 with Google API in Phonegap with ChildBrowser Plugin. Below are different screenshots of the App. The App authorize a Google Tasks API using OAuth 2.0 and then it accesses the User's Tasks and displays them in a list view.

AuthorizeView AuthorizeGoogleLogin AuthorizeAllowApp TaskListView

Download and Install Demo App

You can download and install the App from Phonegap Build directly:
https://build.phonegap.com/apps/209209
Note: You can also fork project, customize and then build your app using PhoneGap build system.

Read Online Tutorial

The online tutorial explaining the code is posted at :

http://www.itsalif.info/content/oauth-google-api-gapi-phonegap-childbrowser-jquery

Install Functional App from Play Store

You can also download fully functional TODO app, which uses Google's cloud based Tasks API. Currently we've released this only on Google Play store.

PlayStoreQRCode
Quick Task on Google™ Play

Known Issues

  • Some users have reported that this app does not authorize on Windows Phone platform. It gives invalid_grant error during authorization process. It could be related with localStorage html5 data-store, but not confirmed yet. If you have already fixed this issue, please share the fix with us.

Credits

Author: Abdullah Rubiyath, Hossain Khan
The code is licensed under MIT License.
Copyright (c) 2012 Liquid Labs Inc.

Something went wrong with that request. Please try again.