Closed ychescale9 closed 1 year ago
https://docs.swrve.com/release-notes/sdk-release-notes/android-sdk-release-notes/#Release_1091
Release 10.9.1 Release date: February 1, 2023 Fixed an issue with how the SDK called SwrveResourcesListener.onResourcesUpdated, which sometimes caused the app to crash.
This is now resolved in release 10.9.1
Hi, we recently started using the
SwrveSDK.setResourcesListener(listener)
API and started getting the following crash on Firebase Crashlytics:The crash happens here
It seems like the
runOnUiThread
lambda is capturing theresourcesListener
so it might be nullable by the time the lambda is invoked in a different thread.Please let me know if you need more info. Thanks!