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 4.0.1 to 4.0.2

4

package.json
{
"version": "4.0.1",
"version": "4.0.2",
"name": "cordova-plugin-googleplus",

@@ -28,2 +28,2 @@ "cordova_name": "Google+",

]
}
}

@@ -30,3 +30,3 @@ # Google+ Cordova/PhoneGap Plugin

iOS
<img src="https://raw.githubusercontent.com/EddyVerbruggen/cordova-plugin-googleplus/master/screenshots/iOS1.png" width="235" height="417"/>&nbsp;

@@ -40,3 +40,3 @@ <img src="https://raw.githubusercontent.com/EddyVerbruggen/cordova-plugin-googleplus/master/screenshots/iOS2.png" width="235" height="417"/>&nbsp;

### iOS
To get your iOS API key, follow Step 1 of [this guide](https://developers.google.com/+/quickstart/ios)
To get your iOS API key, follow Step 1 of [this guide](https://developers.google.com/+/mobile/ios/getting-started)
[get a configuration file here](https://developers.google.com/mobile/add?platform=ios&cntapi=signin).

@@ -103,2 +103,4 @@ This `GoogleService-Info.plist` file contains the `REVERSED_CLIENT_ID` you'll need during installation.

'scopes': '... ', // optional space-separated list of scopes, the default is sufficient for login and basic profile info
'offline': true, // optional and required for Android only - if set to true the plugin will also return the OAuth access token, that can be used to sign in to some third party services that don't accept a Cross-client identity token (ex. Firebase)
'webApiKey': 'api of web app', // optional API key of your Web application from Credentials settings of your project - if you set it the returned idToken will allow sign in to services like Azure Mobile Services
// there is no API key for Android; you app is wired to the Google+ API by listing your package name in the google dev console and signing your apk (which you have done in chapter 4)

@@ -144,3 +146,6 @@ },

window.plugins.googleplus.trySilentLogin(
{},
{
'offline': true, // optional and required for Android only - if set to true the plugin will also return the OAuth access token, that can be used to sign in to some third party services that don't accept a Cross-client identity token (ex. Firebase)
'webApiKey': 'api of web app' // optional API key of your Web application from Credentials settings of your project - if you set it the returned idToken will allow sign in to services like Azure Mobile Services
},
function (obj) {

@@ -147,0 +152,0 @@ alert(JSON.stringify(obj)); // do something useful instead of alerting

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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