frostney / react-native-create-library

:notebook: Command line tool to create a React Native library with a single command
MIT License
1.45k stars 113 forks source link

Fix Error: more than one library with package name 'com.reactlibrary' #53

Closed maicki closed 6 years ago

maicki commented 6 years ago

This kind of prevents issues described in #45.

We should prevent creating Android libraries with the com.reactlibrary namespace. If you just search a bit more multiple people ran into the same issue, that library creator didn't understand that they should change the namespace to something different otherwise it will clash with a library also created with react-native-create-library. In fact I think we should prevent it from ever creating a library with a default namespace. This PR will just print out an error for now same as if using the default namespace on iOS.