Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in README Configure native dependencies for Android #137

Open
LaGregance opened this issue Dec 23, 2024 · 1 comment
Open

Error in README Configure native dependencies for Android #137

LaGregance opened this issue Dec 23, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@LaGregance
Copy link

Hi,

There is an error and an omission in the README regarding to how to configure the native project for Android.
On my case I was unable to add the maven repository in the build.gradle under the allprojects section, because there is no allprojects section anymore (react native 0.74).

I finally found the solution:
Add this at the top of settings.gradle:

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
    repositories {
        google()
        mavenCentral()
        maven {
            url("https://maven.fpregistry.io/releases")
        }
        maven {
            url("https://www.jitpack.io")
        }
    }
}

Also add the implementation in app/build.gradle (not mentioned in the README):

implementation("com.fingerprint.android:pro:2.7.0")

It should be great to update the README to be up-to-date with last React Native version.

@necipallef
Copy link
Contributor

Thank you for bringing this to our attention!

We acknowledge that we've missed updating the instructions on the README with recent Android platform changes. We are actively working on addressing this, and an update will be provided in the coming days.

Stay tuned for more details!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants