Better implementation, I think this way will work for all versions.
Better implementation, I think this way will work for all versions.

mdellanoce/google-api-oauth-phonegap,mdellanoce/google-api-oauth-phonegap,mdellanoce/google-api-oauth-phonegap