-
Notifications
You must be signed in to change notification settings - Fork 52
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
Adding an external dependency on the module - Android - Help #366
Comments
A demo project would be really helpful. |
The only changes the project have are those i mentioned and a simple import for the SDK... |
I'm having the same issue. @TfADrama did you find a solution? I've tried adding this to my RN module build.gradle file:
But it doesn't work. |
I never found a clean solution. You must add on build.grafle of your module and on the same file of the example project. That was the only way i made it work, but i don't like it. |
Hi
I want my react native module to import a SDK as a dependency.
In iOS it's already working, but i have little experience with android.
Im my react native module buidle.gradle i added the following repo inside the repositories object.
On the same file i added the following import to the dependencies object.
After this, i compile the project and i see the dependencies on the external libraries and i actually can use the SDK.
The problem is, when i compile the example project it throws a dependency error:
The dependency appears on the external libraries too. What am i missing?
The text was updated successfully, but these errors were encountered: