Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16850] Android: Are force stopped applications supposed to receive push notifications?

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2014-04-21T18:55:17.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterSeth Toda
AssigneeIngo Muschenetz
Created2014-04-15T22:47:58.000+0000
Updated2014-08-05T20:48:53.000+0000

Description

The customer is claiming that their app used to still receive applications after it was "Force Stopped" in Android's App Info. Right now the app no longer receives applications if it has been force stopped.

Expected by Customer

1. Subscribe to push notifications 2. Force Stop in Android's App Info view 3. App continues to receive push notifications

What actually happens

1. Subscribe to push notificatios 2. Force Stop in Android's App Info view 3. App no longer receives push notifications Is the customer wrong or did we used to support this?

Attachments

FileDateSize
APITest.zip2014-04-17T01:16:15.000+00002543753
tc.zip2014-04-16T00:06:32.000+00002459230

Comments

  1. Seth Toda 2014-04-16

    Attaching my sample project. Read instructions in app.js
  2. Shuo Liang 2014-04-16

    I had tested customer's issue. Everything works fine in my android device. push notification still working after "force stop", and pre-existing notifications in the device tray are still there as well. I made the test like the following steps: 1. Subscribe to push notification. 2. Send "test 1" push notification to device. 3. "test 1" notification displayed in tray. 4. Force to stop the app. 5. Send "test 2" push notification to device. 6. "test 2" notification displayed in tray and "test 1" notification is still in tray.
  3. Seth Toda 2014-04-17

    Hello [~sliang], what software does your android device have? My notifications disappear if I force stop the app. Android 4.4.2 Nexus 5.
  4. Seth Toda 2014-04-17

    Asking customer for their Device specs.
  5. Shuo Liang 2014-04-17

    Android 4.2.2 Nexus 5 I tested it with my simple app.
  6. Shuo Liang 2014-04-17

    My test app APITest.zip
  7. Seth Toda 2014-04-21

    I was able to clear/stop the flow of push notifications on 4.2.X and 4.4.X android versions. Not receiving push notifications after the app is force stopped is normal behavior. I passed this info to the customer. Closing as invalid.
  8. Hieu Pham 2014-04-21

    This is expected behavior for GCM messages: http://stackoverflow.com/questions/20838415/gcm-push-notification-works-after-app-force-stop

JSON Source