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.
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 withreact-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.