react-native-keychain icon indicating copy to clipboard operation
react-native-keychain copied to clipboard

Android: Signed APK - Release Build installed but Crash on Launch (Redmi Note 4)

Open sw-tt-keyurprajapati opened this issue 5 years ago • 2 comments

Android Version: 7.0 NRD90M

Before adding react-native-keychain in my project, release build working fine with installing and open and operate app. After i integrate react-native-keychain("react-native-keychain": "^6.0.0") in my project and release build installed in my device but it is crashing on launch.

sw-tt-keyurprajapati avatar Jun 13 '20 06:06 sw-tt-keyurprajapati

@sw-tt-keyurprajapati Did you modify your proguard-rules.pro file? If you use proguard in your release builds then you need to do that https://github.com/oblador/react-native-keychain#proguard-rules in order to make it work. I was integrating that library into a project recently and faced that issue too, but it was resolved by proguard's rules update.

NasterVill avatar Jun 13 '20 13:06 NasterVill

@NasterVill Thanks a lot, your solution unblocked me after 3 days of trying multiple things.

Meet-JS avatar Mar 29 '23 15:03 Meet-JS