-
Notifications
You must be signed in to change notification settings - Fork 23
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
Fatal Exception: java.lang.SecurityException on Samsung devices #83
Comments
Hi @paulfthomas, Thanks for the issue report, we appreciate the logs and additional context information. We'll investigate the issue and I'll update when we know more. For context, is 2.8.4 the first version of the SDK integrated into your application, or is this a new issue after an upgrade? Thanks, |
Hi @gwhelanLD, This issue is not new and was also occurring with the version Thanks! |
Potential fix for: launchdarkly#83 based on https://stackoverflow.com/a/29703161
Hi @paulfthomas, Firstly let me thank you for your patience as we made the time to investigate this issue. At this time we are unable to replicate a manner in which the Android SDK would create multiple alarms. The referenced stack overflow post shows an issue caused by using The solution we'll be including in the next release is to catch this exception to prevent killing the Application, but in the case this is triggered the background polling will not have been able to set up the alarm to trigger polling. I'll leave this issue open until we release that change. Thanks, |
Thanks for your patience on this issue. We've just released version 2.9.1, which addresses this issue in the manner discussed in my previous comment. Thanks again, |
Describe the bug
Crash only impacting Samsung devices, probably related to the way the
PendingIntent
is retrieved in thePollingUpdater
. See https://github.com/launchdarkly/android-client-sdk/blob/master/launchdarkly-android-client-sdk/src/main/java/com/launchdarkly/android/PollingUpdater.java#L56Logs
SDK version
2.8.4
Additional context
https://stackoverflow.com/questions/29344971/java-lang-securityexception-too-many-alarms-500-registered-from-pid-10790-u
The text was updated successfully, but these errors were encountered: