[TIMOB-16850] Android: Are force stopped applications supposed to receive push notifications?
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2014-04-21T18:55:17.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Seth Toda |
Assignee | Ingo Muschenetz |
Created | 2014-04-15T22:47:58.000+0000 |
Updated | 2014-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
File | Date | Size |
APITest.zip | 2014-04-17T01:16:15.000+0000 | 2543753 |
tc.zip | 2014-04-16T00:06:32.000+0000 | 2459230 |
Attaching my sample project. Read instructions in app.js
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.
Hello [~sliang], what software does your android device have? My notifications disappear if I force stop the app. Android 4.4.2 Nexus 5.
Asking customer for their Device specs.
Android 4.2.2 Nexus 5 I tested it with my simple app.
My test app APITest.zip
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.
This is expected behavior for GCM messages: http://stackoverflow.com/questions/20838415/gcm-push-notification-works-after-app-force-stop