0
How to use 3rd party npm modules in React Native Android?
Every time i install new npm package i.e moment or react navigation my app stop working even though i have done linking that module. Gradle error occured and my app doesn't even start. React Native Custom with emulator.
1 Réponse
+ 2
mmm okay I've used React Native before and it works fine, I debug on my phone. So firstly you could try that. Secondly try installing the modules globally first. Lastly but could be your best choice, try finding out if there are any configurations specific to android for that module, if there are then you may need to do exactly as the instructions say then before running this code =>
react-native run-android you need to first create a new bundle for your app so search create bundle and you will see your answer