iovation / deviceprint-SDK-Android

iovation device print SDK for Android
Other
20 stars 4 forks source link

4.2.0 - Firebase Runtime Crash on Samsung OS #8

Closed lpalac4 closed 3 years ago

lpalac4 commented 3 years ago

We're seeing a lot of runtime crashes in Firebase inside FraudForce and I'm hoping you have some tips on how to fix this. We are seeing this on mostly Samsung devices on Android 9 and 10.

fraudforce-lib-4.2.0-release compileSdkVersion 29 targetSdkVersion 29

We've also seen this crash using the 4.1.1 release which prompted us to upgrade to try to address the problem. We've tried to pass both the ApplicationContext as well as Activity/Fragment context to the FraudForceManager instance without luck.

image

Please let me know what other info I can add.

DmitrijsD commented 3 years ago

Crashes on Emulator 7.1.1 and other devices also

ashley-campbell-iovation commented 3 years ago

Hello! Does this problem exist in the absence of Firebase? If not, I suspect it may be a collision between the two obfuscated libraries. Because of this, I would recommend assuring your Proguard or Dexguard config files are set up appropriately as they may need to be updated. If you are still experiencing problems, please reach out to your integration engineer to escalate directly with our engineering team.

DmitrijsD commented 3 years ago

Fixed by running an initialization block on MainCoroutineDispatcher instead of IO