-
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
SecurityException on LDUtil.isInternetConnected check using LD v3.0.0 #129
Comments
Looks like this is a Google issue: |
Hi @maxkohne, Thanks for bringing this to our attention. We'll look at whether we can avoid this issue altogether or if we have to resort to simply catching and ignoring this Thanks, |
It appears this was deprecated in API 28, could this be the culprit? |
This exception is causing a large volume of crashes for our users on SDK v3.0.0. When do you anticipate a fix for it ? @gwhelanLD |
We are seeing large volumes of this crash too with |
Could you all try this same approach to address? |
## [3.0.2] - 2021-07-16 ### Fixed - Catch `SecurityException` when thrown on call to `getNetworkCapabilities` used to detect current network availability. ([#129](#129)) - Explicitely flag `PendingIntent`s as `FLAG_IMMUTABLE` on Android SDK versions that support doing so. Explicitly specifying mutability is required when targeting Android S+. ([#133](#133))
Closing this issue as it was fixed in the 3.0.2 release. Thanks, |
Describe the bug
We are receiving reports of crashes from our crash reporting services. This has been happening since we upgraded to
v3.0.0
of LaunchDarkly. So far, we have only seen reports fromAndroid 11
users and all happen to be on different models of Samsung Galaxy devices (Galaxy A50
,Galaxy A51
,Galaxy A52
,Galaxy S10
, andGalaxy Z Fold2 5G
). All crashes happened in the background according to Crashlytics.To reproduce
We cannot reproduce in-house but we are seeing Bugsnag and Crashlytic events for this crash. We do not own any Samsung Galaxy models either.
Expected behavior
Don't expect to crash in a background state.
Logs
SDK version
v3.0.0
Language version, developer tools
Kotlin 1.4.30
OS/platform
Android 11
The text was updated successfully, but these errors were encountered: