Skip to content

Commit

Permalink
Merge remote-tracking branch 'amardeshbd/master'
Browse files Browse the repository at this point in the history
Conflicts:
	readme.md
  • Loading branch information
hossain-khan committed Jan 30, 2013
2 parents 6db65be + 84bb4a6 commit 758b803
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 11 deletions.
30 changes: 30 additions & 0 deletions howto.md
@@ -0,0 +1,30 @@
# How to independently use this library #

You can re-use this library to build your next app, which uses google's oauth to access their list of available API <http://code.google.com/apis/console>


## Required Files ##
You will need following core files for your project.
* `liquid.js` (The Base library)
* `helper/liquid.helper.oauth.js` (Google oauth2 helper library - depends on multiple files, it's highly recommended that you check inline documentation)

And following library files:
* `cordova.js` (Cordova core library, required to use `localStorage` and childbrowser plugin)
* `childbrowser.js` (cordova plugin which allows to open popup browser window without leaving your app)
* `jquery.js` (jquery core library - required for AJAX calls)

### Optional Files ###
* `gapi-client.min.js` (google API JS Client - only required IFF you plan to use this to simplify your life, otherwise you can just use plain-old-ajax-calls to get data)
* `model/liquid.model.tasks.js` (This is an example "model" class, which uses GAPI client to access Google Tasks API)




Credits
---------------------------------------------------------------
Author: Abdullah Rubiyath, Hossain Khan
<br />
The code is licensed under MIT License.
<br />
Copyright (c) 2012 Liquid Labs Inc.
<http://liquidlabs.ca>
14 changes: 9 additions & 5 deletions readme.md
Expand Up @@ -22,11 +22,7 @@ You can download and install the App from Phonegap Build directly:

Read Online Tutorial
---------------------------------------------------------------
The online tutorial explaining the code are posted in the following places (both are same):
<br />
<http://liquidlabs.ca/2012/09/09/oauth-google-api-phonegap-childbrowser-jquery-mobile/>

OR
The online tutorial explaining the code is posted at : <br />

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

Expand All @@ -41,6 +37,14 @@ Currently we've released this only on Google Play store.
[Quick Task on Google&trade; Play][PlayStoreLink]
[PlayStoreLink]: https://play.google.com/store/apps/details?id=ca.liquidlabs.quicktask



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
---------------------------------------------------------------

Expand Down
15 changes: 9 additions & 6 deletions www/js/gapi-client.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 758b803

Please sign in to comment.