qonversion / react-native-sdk

React Native SDK for cross-platform in-app purchase and subscription infrastructure, revenue analytics, engagement automation, and integrations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App Crash in Production

sonivaibhav27 opened this issue · comments

App is crashing on some device .

java.lang.SecurityException
Stack Trace:

java.lang.SecurityException: 
  at android.os.Parcel.createExceptionOrNull (Parcel.java:2441)
  at android.os.Parcel.createException (Parcel.java:2425)
  at android.os.Parcel.readException (Parcel.java:2408)
  at android.database.DatabaseUtils.readExceptionFromParcel (DatabaseUtils.java:190)
  at android.database.DatabaseUtils.readExceptionFromParcel (DatabaseUtils.java:142)
  at android.content.ContentProviderProxy.query (ContentProviderNative.java:481)
  at android.content.ContentResolver.query (ContentResolver.java:1237)
  at android.content.ContentResolver.query (ContentResolver.java:1162)
  at android.content.ContentResolver.query (ContentResolver.java:1118)
  at com.qonversion.android.sdk.FacebookAttribution.getAttributionId (FacebookAttribution.java:10)
  at com.qonversion.android.sdk.QUserPropertiesManager.sendFacebookAttribution (QUserPropertiesManager.java:45)
  at com.qonversion.android.sdk.Qonversion.launch (Qonversion.java:97)
  at com.reactlibrary.QonversionModule.launchWithKey (QonversionModule.java:108)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:372)
  at com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:151)
  at com.facebook.react.bridge.queue.NativeRunnable.run (Native Method)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (MessageQueueThreadHandler.java:27)
  at android.os.Looper.loopOnce (Looper.java:233)
  at android.os.Looper.loop (Looper.java:344)
  at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:226)
  at java.lang.Thread.run (Thread.java:920)

Device : OnePlus OnePlus9R

Hello! Thank you for reporting! We've fixed this issue in our android SDK and will update it in react-native SDK as soon as possible. I will point the new release here.

We've released the new version 3.3.1 of react-native SDK, where this crash is fixed. Please, update your version.

Feel free to reopen this issue or create new if you will have any further questions.