Skip to content

Commit

Permalink
EddyVerbruggen#56 new playservices version
Browse files Browse the repository at this point in the history
  • Loading branch information
shinyjoseph committed Apr 29, 2015
1 parent 121fc92 commit b3c952a
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ by [Eddy Verbruggen](http://twitter.com/eddyverbruggen)
1. [Description](#1-description)
2. [Screenshots](#2-screenshots)
3. [Installation (CLI / Plugman)](#3-installation-phonegap-cli--cordova-cli)
4. [Google+ API setup](#4-google-api-setup)
5. [Usage](#5-usage)
6. [Troubleshooting](#6-troubleshooting)
7. [Changelog](#7-changelog)
8. [License](#8-license)
4. [Installation (PhoneGap Build)](#4-installation-phonegap-build)
5. [Google+ API setup](#5-google-api-setup)
6. [Usage](#6-usage)
7. [Troubleshooting](#7-troubleshooting)
8. [Changelog](#8-changelog)
9. [License](#9-license)


## << --- Cordova Registry Warning [iOS]
Expand Down Expand Up @@ -54,7 +55,13 @@ $ phonegap local plugin add nl.x-services.plugins.googleplus

GooglePlus.js is brought in automatically. There is no need to change or add anything in your html.

## 4. Google+ API setup
## 4. Installation (PhoneGap Build)
Add this to your config.xml:
```xml
<gap:plugin name="nl.x-services.plugins.googleplus" source="plugins.cordova.io"/>
```

## 5. Google+ API setup
To communicate with Google+ you need to do some tedious setup, sorry.

### iOS
Expand All @@ -65,7 +72,7 @@ To configure Android, follow Step 1 of [this guide](https://developers.google.co

Make sure you execute the `keytool` steps as well or authentication will fail.

## 5. Usage
## 6. Usage
Check the [demo app](demo) to get you going quickly, or hurt yourself and follow these steps.

Note that none of these methods should be called before [`deviceready`](http://docs.phonegap.com/en/edge/cordova_events_events.md.html#deviceready) has fired.
Expand Down Expand Up @@ -167,18 +174,18 @@ window.plugins.googleplus.disconnect(
);
```

## 6. Troubleshooting
## 7. Troubleshooting
- Q: After authentication I'm not redirected back to my app.
- A: You probably changed the bundle id of your app after installing this plugin. Make sure that (on iOS) the `CFBundleURLTypes` bit in your `.plist` file is the same as the actual bundle id originating from `config.xml`.

- Q: I can't get authentication to work on Android. And why is there no ANDROID API KEY?
- A: On Android you need to execute the `keytool` steps, see the installation instructions for details.

## 7. Changelog
## 8. Changelog
1.1.0: Added `isAvailable`, for issue [#37](https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/37)
1.0.0: Initial version supporting iOS and Android

## 8. License
## 9. License

[The MIT License (MIT)](http://www.opensource.org/licenses/mit-license.html)

Expand Down

0 comments on commit b3c952a

Please sign in to comment.