Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1402] Push notification not received

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionFixed
Resolution Date2014-10-15T02:17:46.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy, Titanium SDK & CLI
Labelsandroid, api
ReporterIshan Singh
AssigneeShuo Liang
Created2014-09-27T19:45:54.000+0000
Updated2016-03-08T07:37:49.000+0000

Description

Hi, All I am facing an issue in which i am implementing push notification in android, i am able to get the push notification success fully after subscribing if the application is in background. But the problem arises when the application is closed its showing me myApp has stopped unexpectedly. I am attaching my android manifest after my build, my tiapp.xml, the ddms error log screenshot and my .js file.

Attachments

FileDateSize
AndroidManifest.xml2014-09-27T19:45:54.000+00003046
loginPage.js2014-09-27T19:45:54.000+00001140
Screen Shot 2014-09-27 at 8.00.42 pm.png2014-09-27T19:45:54.000+0000244561
tiapp.xml2014-09-27T19:45:54.000+00003089

Comments

  1. Shuo Liang 2014-09-28

    If you want received push notification, you have to set callback function to listening the incoming notification. Here is the sample and guide: [http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.CloudPush]

JSON Source