Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-googleplus

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-googleplus - npm Package Compare versions

Comparing version 5.2.3 to 5.3.0

hooks/browser/after_prepare.js

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc