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
870 stars 298 forks source link

JCenter will not be maintained anymore #188

Closed keremoge closed 2 years ago

keremoge commented 2 years ago

On February 3 2021, JFrog announced that they will be shutting down JCenter.

Instead we should use mavenCentral()

Any plan on replacing jCenter() in build.gradle ?

Current error if we replace jCenter() with mavenCentral() :

Could not resolve com.wei.android.lib:fingerprintidentify:1.2.6

mikehardy commented 2 years ago

Hi there! I believe you're in the wrong spot - that's a transitive dependency in your project, via this project, but the real dependency is elsewhere.

You might like: https://github.com/uccmawei/FingerprintIdentify/commit/5a344dcbbfbdf4d70299d1cabaa8d47e57600e19

keremoge commented 2 years ago

Yes you are are right the root problem is about FingerprintIdentify, but since this repository is using it the problem is also affecting react-native-fingerprint-scanner itself indirectly.

in build.gradle: implementation "com.wei.android.lib:fingerprintidentify:${safeExtGet("fingerprintidentify", "1.2.6")}"

mikehardy commented 2 years ago

Yes, and if you add jitpack as in the issue I reference, you're all set

mikehardy commented 2 years ago

Fixed by #189