3rd party maven dependency in react-native npm module #291
Replies: 3 comments 1 reply
-
If I need to add @react-native-community/datetimepicker in my project. how I will do. If I'm adding to peerDependencies it is not calling import DateTimePicker from '@react-native-community/datetimepicker'; it is throwing an error. |
Beta Was this translation helpful? Give feedback.
-
Hey @DanielFrTB you have some progress with this issue? |
Beta Was this translation helpful? Give feedback.
-
You probably don't need to edit the example app's gradle at all. At |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to use 3rd party SDK in my react-native android module.
and I have got the same problem here:
https://github.com/callstack/react-native-builder-bob/issues/63
It seems like the module can't find the SDK and looking in the wrong place.
it only finds the SDK if I specified the in the
`maven {
url "xxxxx"
}`
inside the Example-app build.gradle, the problem is that I am spcified is twice, first in the module build.gradle and the second time inside Example-app build.gradle, is it the right approach?
Beta Was this translation helpful? Give feedback.
All reactions