proyecto26 / react-native-inappbrowser

📱InAppBrowser for React Native (Android & iOS) 🤘
https://www.npmjs.com/package/react-native-inappbrowser-reborn
MIT License
1.29k stars 220 forks source link

Fatal Error #378

Closed mtalhagaoglu closed 1 year ago

mtalhagaoglu commented 1 year ago

Hi,

I'm getting the below error via Sentry in my production. When I check the ADB logcat there isn't any error tho, just crashing.

Subscriber class com.proyecto26.inappbrowser.c and its super classes have no public methods with the @Subscribe annotation

I am using the latest version of the library, previous version gives QUERRY_ALL_PACKAGES error so google play forced me update the version :/

jdnichollsc commented 1 year ago

@mtalhagaoglu did you enable ProGuard? If so, please check the README of this repository to update your ProGuard config, please let us know! <3

hugoh59 commented 1 year ago

The readme only specifies proguard configuration for RN <= .060 what if we're still getting this crash and using RN > 0.60, is it the same configs ? @jdnichollsc

mtalhagaoglu commented 1 year ago

Sorry @jdnichollsc, I forgot to reply back to you. My problem was solved after disabling Proguard. Thank you.