-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification is stuck #2
Comments
Hi Fouad, Thank you for your feedback. This is very helpful and important for making our SDK better! In order to troubleshoot this issue, I have a few questions:
Thank you,
|
Hi John,
Thank you again for your help, Fouad |
Hi Fouad, Great feedback! The second scenario that triggers the notification on the Oneplus is a bug. We will provide a fix for that. Regarding, the Nexus 4, not sure what the issue is. As for why the notification appears, it is a side-effect of the Pathsense SDK running as a foreground service. Particularly, in the latest Android releases, we have noticed the OS being more aggressive in terminating background services. Running as a foreground service gives us some level of protection. You can customize both the notification and the ticker text to your own branding here: https://developer.pathsense.com/node/778 https://developer.pathsense.com/node/778 Please, let me know if you have any more questions and/or issues. Thank you,
|
Hi again ! I appreciate your help on this issue ! I understand the need for the notification as you use a foreground service. Actually the notification itself is not the problem because in normal cases it only shows up for a fraction of a second and I've customized it just in case. Regarding the Nexus 4, the problem came up again yesterday and also just came up now as i'm writing this. The notification won't go away until I Force Close the app. Pathsense is still sending activity updates while the notification is stuck. I kill the app by Force Close (in settings menu) and Pathsense stops sending updates. Pathsense doesn't restart until I reopen the app. What happened yesterday is that my colleague noticed that his phone kept the GPS activated long after he arrived home. The app deactivates GPS when it detects STILL, TILTING or ON_FOOT activity. I can't really say what triggered the bug yesterday but I can tell you what just happened now. The app was open, no notification. I locked the screen (onPause). I turned on the screen without unlocking, no notification. Unlocked the screen back to app (onResume), no notification. Tapped the home button (onPause), notification came up immediately and won't go away. Thank you again, Fouad |
Hi Fouad, What version of Android is running on the Nexus 4? We will look into this. Thank you,
|
Stock Android 5.1.1 Thank you |
Hi again, The same problem came up on a Samsung Ace 3 running CyanogenMod 11 (Android 4.4.4). The notification won't go away. Thought I'd tell you about it. Don't hesitate if you need more information. Have a good day, Fouad |
Hi Fouad, Was the API stuck as well on the Samsung Ace 3? Thanks again, for the feedback. We will look into this. John Dyer
|
we continued to receive activity updates but the notification wouldn't disappear thank you John |
Hi there, I am seeing the same issue on 2.3.0.12, Nexus 6P, Android 7.1.1, but works as intended on a Samsung Galaxy S4, Android 5.0.1. I would really like to ship an app with the Pathsense SDK, seeing as how it's much more accurate than Google's alternative, once this issue is resolved. Please let me know if you need any more information. Thanks, |
Hi together, I am using your PathSense API in one of my apps and an user complains, that the notification is not disappearing on his device! What can it be? Thanks |
Same issue in the last version of the SDK and Huawei P10. |
Same issue is occuring in version 3.2.0.0 with The notification shows permanently even when pathsense is running as background service |
Hello,
I've recently installed your SDK and noticed that the Pathsense notification shows up for a really brief time and then quickly disappears. However, sometimes the notification doesn't disappear and is stuck. I have to either kill the process or restart the phone to make it go away.
Do you have any idea why this could be happening ?
Thank you in advance,
Fouad
The text was updated successfully, but these errors were encountered: