Closed sahil290791 closed 6 years ago
Have the same issues. Did you have solved it?
I have added this code
android/app/proguard-rules.pro
# Samsung Fingerprint
-dontwarn com.samsung.**
-keep class com.samsung.android.sdk.** { *; }
-ignorewarnings
and it works fine after that.
Hi @sahil290791 I've recently been added to this repo as a collaborator and am getting up to speed on the different issues. So that we're all on the same page, do you mind posting the rest of your proguard file and the value of your enableProguardInReleaseBuilds
?
I'd also point out that @sahil290791's reply is documented in the readme here: https://github.com/hieuvp/react-native-fingerprint-scanner#extra-configuration
Since there haven't been any updates, I'm going to close this issue for now.
Update:
The app works fine if I add
-ignorewarnings
at the end of proguard-rules.pro. Not sure if this is the correct way of doing it. @hieuvp can you please confirm if this the right of doing it?Description
The app works fine in debug mode, but the moment I try creating a release build, it keeps failing with this error:
I am using: React Native: 0.42.3 react-native-fingerprint-scanner: 2.2.0 compileSdkVersion: 25 buildToolsVersion "25.0.3" minSdkVersion 21 targetSdkVersion 25
I have even added these lines to proguard: