Skip to content

Commit

Permalink
Update to version 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
morinel committed Jun 24, 2016
1 parent f8157f7 commit 2670dc4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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
Expand All @@ -22,4 +22,4 @@ $ ant clean
$ ant
```

A zip file will be created in the `dist` folder.
A zip file will be created in the `dist` folder.
2 changes: 1 addition & 1 deletion documentation/index.md
Expand Up @@ -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.
Expand Down
12 changes: 6 additions & 6 deletions example/app.js
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions manifest
Expand Up @@ -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 <jeroen@vanvianen.nl>
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
Expand Down
2 changes: 1 addition & 1 deletion timodule.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ti:module xmlns:ti="http://ti.appcelerator.org" xmlns:android="http://schemas.android.com/apk/res/android">
<android xmlns:android="http://schemas.android.com/apk/res/android">
<manifest package="nl.vanvianen.android.gcm" android:versionCode="4" android:versionName="1.4" android:installLocation="internalOnly">
<manifest package="nl.vanvianen.android.gcm" android:versionCode="4" android:versionName="1.6" android:installLocation="internalOnly">
<supports-screens android:anyDensity="true"/>
<uses-sdk android:minSdkVersion="21"/>

Expand Down

0 comments on commit 2670dc4

Please sign in to comment.