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.

8th Feb 2019, 9:56 PM
Waseem Maya
Waseem Maya - avatar
1 Antwort
+ 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
29th Apr 2019, 5:40 AM
Mufungo Geeks
Mufungo Geeks - avatar