Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Commit

Permalink
Issue #12: Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
macdonst committed Jul 10, 2015
1 parent 4a539cd commit 8939efe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ phonegap plugin add https://github.com/phonegap/phonegap-plugin-push

## Quick Example

```
```javascript
var push = PushNotification.init({ "android": {"senderID": "12345679"},
"ios": {}, "wp": {"channelName": "12345679"} } );

Expand Down Expand Up @@ -55,6 +55,11 @@ phonegap plugin add https://github.com/phonegap/phonegap-plugin-push
Parameter | Description
--------- | ------------
`options` | `JSON Object` platform specific initialization options.
`options.android` | `JSON Object` Android specific initialization options.
`options.android.senderID` | `String` Maps to the project number for in the Google Developer Console.
`options.ios` | `JSON Object` iOS specific initialization options.
`options.wp` | `JSON Object` Windows specific initialization options.
`options.wp.channelName` | `String` Channel URI from Microsoft.

#### Returns

Expand Down
2 changes: 1 addition & 1 deletion src/android/com/adobe/phonegap/push/GCMIntentService.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@ public void onError(Context context, String errorId) {
Log.e(LOG_TAG, "onError - errorId: " + errorId);
}

}
}

0 comments on commit 8939efe

Please sign in to comment.