Open stonyz opened 5 years ago
@stonyz can you please add the result of this adb
command:
adb shell dumpsys package | grep stopped
after you restart the device?
Thanks @kroikie , just updated the description.
get many duplicated output like below,
User 0: ceDataInode=0 installed=true hidden=false suspended=false stopped=false notLaunched=false enabled=0 instant=false User 150: ceDataInode=0 installed=true hidden=false suspended=false stopped=false notLaunched=false enabled=0 instant=false
@stonyz Looking at the results of adb shell dumpsys <your package name> | grep stopped
your app seems to be running and thus should get the notification. Does this only happen on Sumsang Note 8 or is this something that you can reproduce on other devices?
@stonyz Hi! Did you manage to fix this problem?
Step 1: Are you in the right place?
Yes, I'm running the message project. (FCM)
Step 2: Describe your environment
Step 3: Describe the problem:
When app is in foreground or in background (is running), works well. but once stoped by system or restart the device, can't receive notification to show on the system tray.
Steps to reproduce:
Observed Results:
Nothing can be see on logcat
Expected Results:
When restart device, the notification should show on System tray, just like running in background.
Relevant Code:
has no extra code.
add result,
Run the following command,
adb shell dumpsys com.ginko.ginko | grep stopped
get lots of output like, ..... User 0: ceDataInode=0 installed=true hidden=false suspended=false stopped=false notLaunched=false enabled=0 instant=false User 150: ceDataInode=0 installed=true hidden=false suspended=false stopped=false notLaunched=false enabled=0 instant=false ....