{ "id": "62551", "key": "TIMOB-1919", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-03-14T18:49:20.000+0000", "created": "2011-04-15T03:05:36.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "26718", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "104655", "key": "MOD-1013", "fields": { "summary": "Urban Airship Module for Google Cloud Messaging (GCM)", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T05:23:19.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Right now Ti.Network.registerForPushNotifications only works\r\nwith iPhone.

\r\n

Android 2.2 (Froyo) just added push notifications, called C2DM:\r\n\r\nhttp://android-developers.blogspot.com/2010/05/android-cloud-to-dev...
\r\nProblem is this only works with v2.2 devices and up.

\r\n

Urban Airship has an approach that works with almost all android\r\ndevices...but I'm not sure how much you want to marry to them:
\r\n\r\nhttp://blog.urbanairship.com/blog/2010/09/08/push-notifications-on-...

\r\n

In any case, some kind of built-in support for push on Android\r\nwould be great.

{html}\r\n\r\nh3. Additional notes\r\nCustomer ticket: http://support-admin.appcelerator.com/display/APP-684245", "attachment": [], "flagged": false, "summary": "Android: Support push notifications", "creator": { "name": "robby", "key": "robby", "displayName": "Robby", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126991", "author": { "name": "matthewlieder", "key": "matthewlieder", "displayName": "Matthew Lieder", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Don, I have an Android push module written and lightly tested\nand would be willing to give you guys the code if that'd help you\ncreate an officially-supported module quicker; let me know if\nyou're interested.

{html}", "updateAuthor": { "name": "matthewlieder", "key": "matthewlieder", "displayName": "Matthew Lieder", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:37.000+0000", "updated": "2011-04-15T03:05:37.000+0000" }, { "id": "126992", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

@Matthew I think there is going to be a module in the\nmarketplace for Urban Airship. We have enough features left for 1.5\nthat I don't think we're going to get any more modules done before\nQ1. Would you have any interest in adding yours to the market when\nit ships?

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:38.000+0000", "updated": "2011-04-15T03:05:38.000+0000" }, { "id": "126993", "author": { "name": "matthewlieder", "key": "matthewlieder", "displayName": "Matthew Lieder", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Possibly; we don't have resources to support it beyond our needs\nthough so someone else will likely need to take over support for\nit.

{html}", "updateAuthor": { "name": "matthewlieder", "key": "matthewlieder", "displayName": "Matthew Lieder", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:38.000+0000", "updated": "2011-04-15T03:05:38.000+0000" }, { "id": "126994", "author": { "name": "anthonywebb", "key": "anthonywebb", "displayName": "Anthony Webb", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

@matt, I'd be interested in taking over support for it if you\nguys will post it. Most of my upcoming projects require C2DM, and\ninstalling a 3rd party app like urban airship isnt kosher with my\nclients.

{html}", "updateAuthor": { "name": "anthonywebb", "key": "anthonywebb", "displayName": "Anthony Webb", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:38.000+0000", "updated": "2011-04-15T03:05:38.000+0000" }, { "id": "126995", "author": { "name": "matthewlieder", "key": "matthewlieder", "displayName": "Matthew Lieder", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Would it be acceptable if I released the code under LGPL?

{html}", "updateAuthor": { "name": "matthewlieder", "key": "matthewlieder", "displayName": "Matthew Lieder", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:38.000+0000", "updated": "2011-04-15T03:05:38.000+0000" }, { "id": "126996", "author": { "name": "chrisnelson", "key": "chrisnelson", "displayName": "Chris Nelson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Please do! :)

\n

My application that I'd like to implement will involve a heavy\nuse of push notifications, so I could get a good amount of testing\ndone for anyone interested.

{html}", "updateAuthor": { "name": "chrisnelson", "key": "chrisnelson", "displayName": "Chris Nelson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:38.000+0000", "updated": "2011-04-15T03:05:38.000+0000" }, { "id": "126997", "author": { "name": "petersweeney", "key": "petersweeney", "displayName": "Peter Sweeney", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I'm really interested in this. Can you explain please how you're\ndoing a push in this instance, as the application would surely have\nto be inactive - so is the push a secondary application running in\nthe background, low memory footprint? Can you explain further\nplease. Is it true push?

{html}", "updateAuthor": { "name": "petersweeney", "key": "petersweeney", "displayName": "Peter Sweeney", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:39.000+0000", "updated": "2011-04-15T03:05:39.000+0000" }, { "id": "126998", "author": { "name": "matthewlieder", "key": "matthewlieder", "displayName": "Matthew Lieder", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Chris: I'm going to try to get the code out soon; sometime\nbetween tomorrow and the end of the month :p

\n

Peter: True push: http://code.google.com/android/c2dm/index.html

{html}", "updateAuthor": { "name": "matthewlieder", "key": "matthewlieder", "displayName": "Matthew Lieder", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:39.000+0000", "updated": "2011-04-15T03:05:39.000+0000" }, { "id": "126999", "author": { "name": "chrisnelson", "key": "chrisnelson", "displayName": "Chris Nelson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Matthew, do you have twitter or somewhere I can follow the\nprogress?

{html}", "updateAuthor": { "name": "chrisnelson", "key": "chrisnelson", "displayName": "Chris Nelson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:39.000+0000", "updated": "2011-04-15T03:05:39.000+0000" }, { "id": "127000", "author": { "name": "matthewlieder", "key": "matthewlieder", "displayName": "Matthew Lieder", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

How about GitHub? :)

\n

https://github.com/IGx89/titanium-c2dm

\n

I haven't done any development on it for a few weeks so it may\nbe broken with the latest 1.5.0 build, but changes should be minor.\nYou'll definitely want to update build.properties to the paths in\nyour local environment though. Feel free to change the package name\nfrom com.findlaw.titanium.c2dm to something else. Instructions on\nhow to build and test the module can be found here: http://developer.appcelerator.com/doc/mobile/android/module_sdk

{html}", "updateAuthor": { "name": "matthewlieder", "key": "matthewlieder", "displayName": "Matthew Lieder", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:39.000+0000", "updated": "2011-04-15T03:05:39.000+0000" }, { "id": "127001", "author": { "name": "chrisnelson", "key": "chrisnelson", "displayName": "Chris Nelson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Looks good! I'll see what I can do about implementing this\nsometime this week and give you some feedback. Thanks for your\ncontribution!

{html}", "updateAuthor": { "name": "chrisnelson", "key": "chrisnelson", "displayName": "Chris Nelson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:39.000+0000", "updated": "2011-04-15T03:05:39.000+0000" }, { "id": "127002", "author": { "name": "chrisbratlien", "key": "chrisbratlien", "displayName": "chrisbratlien", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Looking forward to using C2DM in Titanium in current and future\napps.

\n

Attempting to build this module. I've changed build.properties\nto reflect my environment. When I try to build with ant, or with\nEclipse, I get the following error:

\n

/Library/Application\nSupport/Titanium/mobilesdk/osx/1.5.0/module/android/build.xml:10:\njava.lang.UnsupportedClassVersionError: Bad version number in\n.class file

\n

Maybe something to do with Java version?

\n

$ javac -version javac 1.6.0_22
\n$ java -version java version \"1.6.0_22\"
\nJava(TM) SE Runtime Environment (build 1.6.0_22-b04-307-9M3263)
\nJava HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed\nmode)

\n

Eclipse is set to use 1.5

\n

Line 10 of that build.xml is:

\n
\n<taskdef classname=\"org.appcelerator.titanium.ant.StringTask\" name=\"ti.string\" classpath=\"${ti.module.support.dir}/android/ant-tasks.jar\"/>\n
\n

Does anyone have a pre-built zip of this module (if that would\nhelp), or any suggestions?

{html}", "updateAuthor": { "name": "chrisbratlien", "key": "chrisbratlien", "displayName": "chrisbratlien", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:42.000+0000", "updated": "2011-04-15T03:05:42.000+0000" }, { "id": "127003", "author": { "name": "chrisbratlien", "key": "chrisbratlien", "displayName": "chrisbratlien", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Just a follow up. I'm now able to build titanium-c2dm in Eclipse\nif I tell Eclipse to use Java 1.6

{html}", "updateAuthor": { "name": "chrisbratlien", "key": "chrisbratlien", "displayName": "chrisbratlien", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:42.000+0000", "updated": "2011-04-15T03:05:42.000+0000" }, { "id": "200531", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Our push notification support is specific to ACS module and not generic.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-27T08:35:38.000+0000", "updated": "2012-06-27T08:35:38.000+0000" }, { "id": "200868", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "Android C2DM has just been deprecated in favor of the new \"Google Cloud Messaging\" ([https://support.google.com/googleplay/android-developer/support/bin/answer.py?hl=en&answer=2663268]). Please add support for \"Google Cloud Messaging\".", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-06-29T08:41:14.000+0000", "updated": "2012-06-29T08:41:14.000+0000" }, { "id": "224685", "author": { "name": "madnan", "key": "madnan", "displayName": "Muhammad Adnan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Push Notifications using C2DM are deprecated now, GCM is used now a days for this Purpose \r\nfolowwing link contains module having user Guide for it \r\nhttps://github.com/liccowee/Google-Cloud-Messaging--Titanium-", "updateAuthor": { "name": "madnan", "key": "madnan", "displayName": "Muhammad Adnan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-23T05:36:24.000+0000", "updated": "2012-10-23T05:36:24.000+0000" }, { "id": "242285", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving as a duplicate of the linked issue and module", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-14T18:49:21.000+0000", "updated": "2013-03-14T18:49:21.000+0000" }, { "id": "265869", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "body": "Ingo, I think this should be re-opened. It is great having modules on GitHub but this is such a core feature of apps and has been supported for ages on iOS. I think this is an important parity issue and really should be \"built into\" appcelerator without the need for a separate module build process", "updateAuthor": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2013-08-10T07:28:20.000+0000", "updated": "2013-08-10T07:28:20.000+0000" }, { "id": "277234", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ndastur] Our ti.cloudpush module (delivered with the SDK) supports GCM. Is there an issue with using that approach?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-29T20:16:35.000+0000", "updated": "2013-10-29T20:16:35.000+0000" }, { "id": "277242", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "body": "@Ingo. It looks to me that the ti.cloudpush methods only support push notifications via ACS which is obviously quite vendor specific. If that is not the case then can the docs be updated.\r\n\r\nThanks", "updateAuthor": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2013-10-29T20:34:51.000+0000", "updated": "2013-10-29T20:34:51.000+0000" }, { "id": "415240", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the linked issues above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T05:23:19.000+0000", "updated": "2017-03-23T05:23:19.000+0000" } ], "maxResults": 22, "total": 22, "startAt": 0 } } }