hieuvp / react-native-fingerprint-scanner

Provide Fingerprint, Touch ID, and Face ID Scanner for React Native (Compatible with both Android and iOS)
https://www.npmjs.com/package/react-native-fingerprint-scanner
872 stars 299 forks source link

Error thrown on some devices including Samsung #90

Open reyraa opened 5 years ago

reyraa commented 5 years ago

Description

I get this error when running on Android (OnePlus 6, Samsung Galaxy S8 and a couple of others):

Interface com.samsung.android.fingerprint.FingerprintManager$EnrollFinishListener not found

and

{PATH HERE}/jars/libs/MeiZu_Fingerprint.jar: D8: Type android.os.ServiceManager was not found

This is the source or 3K+ crashes on my app last month. Is this a dependency which I should add manually or it should come following your installation instructions?

phillbaker commented 5 years ago

Hey @reyraa sorry to hear you're having issues.

Can you include the output of react-native info? And what version of this library are you using? Can you provide some context around the 3k+ crashes - what proportion of sessions is that?

phillbaker commented 5 years ago

Bump @reyraa any more information you can provide here?

reyraa commented 5 years ago

Sorry, I got busy with other features and didn't get back to this. I'll provide more details during next week.

phillbaker commented 4 years ago

@reyraa do you have code stripping (proguard) enabled?