cordova-plugin-googleplus
Advanced tools
Comparing version 5.2.3 to 5.3.0
{ | ||
"version": "5.2.3", | ||
"version": "5.3.0", | ||
"name": "cordova-plugin-googleplus", | ||
@@ -4,0 +4,0 @@ "cordova_name": "Google SignIn", |
@@ -57,2 +57,7 @@ # Google Sign-In Cordova/PhoneGap Plugin | ||
### Browser | ||
Browser platform require a valid `WEB_APPLICATION_CLIENT_ID` that generated at [Google Developer Console](https://console.developers.google.com/). | ||
Ensure you have added your url address (example: `http://localhost:3000`) to **Authorized JavaScript origins** section. | ||
See [this screenshot for example](http://pix.toile-libre.org/upload/original/1508064473.png) | ||
### iOS | ||
@@ -98,3 +103,3 @@ To get your iOS `REVERSED_CLIENT_ID`, [generate a configuration file here](https://developers.google.com/mobile/add?platform=ios&cntapi=signin). | ||
``` | ||
$ cordova plugin add cordova-plugin-googleplus --save --variable REVERSED_CLIENT_ID=myreversedclientid | ||
$ cordova plugin add cordova-plugin-googleplus --save --variable REVERSED_CLIENT_ID=myreversedclientid --variable WEB_APPLICATION_CLIENT_ID=mywebapplicationclientid | ||
$ cordova prepare | ||
@@ -105,3 +110,3 @@ ``` | ||
``` | ||
$ cordova plugin add https://github.com/EddyVerbruggen/cordova-plugin-googleplus --save --variable REVERSED_CLIENT_ID=myreversedclientid | ||
$ cordova plugin add https://github.com/EddyVerbruggen/cordova-plugin-googleplus --save --variable REVERSED_CLIENT_ID=myreversedclientid --variable WEB_APPLICATION_CLIENT_ID=mywebapplicationclientid | ||
$ cordova prepare | ||
@@ -116,2 +121,4 @@ ``` | ||
* `myreversedclientid` is a place holder for Oauth Client ID specifically generated for web application in your [Google Developer's Console](https://console.developers.google.com/). | ||
GooglePlus.js is brought in automatically. There is no need to change or add anything in your html. | ||
@@ -126,2 +133,3 @@ | ||
<variable name="REVERSED_CLIENT_ID" value="myreversedclientid" /> | ||
<variable name="WEB_APPLICATION_CLIENT_ID" value="mywebapplicationclientid" /> | ||
</plugin> | ||
@@ -134,2 +142,3 @@ ``` | ||
<variable name="REVERSED_CLIENT_ID" value="myreversedclientid" /> | ||
<variable name="WEB_APPLICATION_CLIENT_ID" value="mywebapplicationclientid" /> | ||
<plugin> | ||
@@ -289,2 +298,3 @@ ``` | ||
## 10. Changelog | ||
- 5.3.0: Browser platform added. | ||
- 5.0.3: Added the convenience method `getSigningCertificateFingerprint` to retrieve the Android cert fingerprint which is required in the Google Developer Console. | ||
@@ -291,0 +301,0 @@ - 5.0.2: Require linking against `SafariServices` and `CoreText` frameworks on iOS as per Google's recommendation. Added `loginHint` on iOS. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13855781
35
285
307
3