diff --git a/README.md b/README.md index 6f3ee8d..21bea4e 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Read the [documentation](https://github.com/morinel/gcmpush/blob/master/document To build, create a `build.properties` file with the following content: ``` -titanium.platform=/Users/###USER###/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA/android +titanium.platform=/Users/###USER###/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android android.platform=/Users/###USER###/Library/Android/sdk/platforms/android-23 google.apis=/Users/###USER###/Library/Android/sdk/add-ons/addon-google_apis-google-23 android.ndk=/Users/###USER###/Library/Android/ndk @@ -22,4 +22,4 @@ $ ant clean $ ant ``` -A zip file will be created in the `dist` folder. \ No newline at end of file +A zip file will be created in the `dist` folder. diff --git a/documentation/index.md b/documentation/index.md index 37e48a9..d6c6ec8 100644 --- a/documentation/index.md +++ b/documentation/index.md @@ -4,7 +4,7 @@ A Titanium module for registering a device with Google Cloud Messaging and handling push notifications sent to the device. Both push notifications and topic subscriptions are supported. -1. Install the module as usual in Titanium Studio by downloading the [zip file](https://github.com/morinel/gcmpush/releases/download/1.5/nl.vanvianen.android.gcm-android-1.5.zip) or use ```gittio install nl.vanvianen.android.gcm``` +1. Install the module as usual in Appcelerator Studio by downloading the [zip file](https://github.com/morinel/gcmpush/releases/download/1.5/nl.vanvianen.android.gcm-android-1.5.zip) or use ```gittio install nl.vanvianen.android.gcm``` 1. Refer to the examples for possibilities. 1. Send a server push notification with your preferred server-side technology to the registrationId returned while registering your device. 1. The callback you specified will then be called. diff --git a/example/app.js b/example/app.js index 107a52a..6ee1f03 100644 --- a/example/app.js +++ b/example/app.js @@ -18,13 +18,13 @@ gcm.registerPush({ vibrate: true, /* Whether the phone should vibrate */ insistent: true, /* Whether the notification should be insistent */ group: 'MyNotificationGroup', /* Name of group to group similar notifications together */ - localOnly: false, /* Whether this notification should be bridged to other devices */ - priority: +2, /* Notification priority, from -2 to +2 */ + localOnly: false, /* Whether this notification should be bridged to other devices */ + priority: +2, /* Notification priority, from -2 to +2 */ bigText: false, - /* You can also set a static value for title, message, or ticker. If you set a value here, the key will be ignored. */ - // title: '', - // message: '', - // ticker: '' + /* You can also set a static value for title, message, or ticker. If you set a value here, the key will be ignored. */ + // title: '', + // message: '', + // ticker: '' /* Add LED flashing */ ledOn: 200, ledOff: 300 diff --git a/manifest b/manifest index 6cdbbf1..b766a5d 100755 --- a/manifest +++ b/manifest @@ -2,12 +2,12 @@ # this is your module manifest and used by Titanium # during compilation, packaging, distribution, etc. # -version: 1.5 +version: 1.6 apiversion: 3 description: Google Cloud Push for Titanium author: Jeroen van Vianen license: Apache License, Version 2.0 -copyright: Copyright (c) 2015 by Jeroen van Vianen +copyright: Copyright (c) 2015-2016 by Jeroen van Vianen # these should not be edited name: Gcm diff --git a/timodule.xml b/timodule.xml index 6581ba5..0543d18 100644 --- a/timodule.xml +++ b/timodule.xml @@ -1,7 +1,7 @@ - +