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

Element ACCESS_FINE_LOCATION at [com.sumsub.sns:idensic-mobile-sdk:1.34.1] AndroidManifest.xml:38:5-79 duplicated with element #20

Open
KirillRodichevUtorg opened this issue Jan 31, 2025 · 0 comments

Comments

@KirillRodichevUtorg
Copy link

Issue: Duplicate uses-permission Elements in AndroidManifest.xml

Description

I’m experiencing an issue with the idensic-mobile-sdk version 1.34.1 while building my React Native project. The SDK’s AndroidManifest.xml contains duplicate uses-permission declarations for android.permission.ACCESS_FINE_LOCATION, which leads to a build failure during the manifest merging process.

React Native Version

react-native: 0.73.1

Error Details

The error occurs during the processDevDebugManifest task. Below is the relevant part of the error log:

Element uses-permission#android.permission.ACCESS_FINE_LOCATION at [com.sumsub.sns:idensic-mobile-sdk:1.34.1] AndroidManifest.xml:38:5-79 duplicated with element declared at [com.sumsub.sns:idensic-mobile-sdk:1.34.1] AndroidManifest.xml:10:5-79

Error:
        Element uses-permission#android.permission.ACCESS_FINE_LOCATION at AndroidManifest.xml:93:5-79 duplicated with element declared at AndroidManifest.xml:80:5-82:36

Steps to Reproduce

1.	Install "@sumsub/react-native-mobilesdk-module": "1.34.1" in a React Native project.
2.	Build the project with ./gradlew assembleDebug.
3.	Observe the manifest merging error.

Workaround

I attempted to use tools:node="remove" in my app’s AndroidManifest.xml as a temporary fix, but this shouldn’t be required for properly configured SDKs.

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

No branches or pull requests

1 participant