invariant violation module appregistry is not a registered callable module ios code example
Example: Invariant Violation: Module AppRegistry is not a registered callable module
try to restart the project after doing this:
cd android
sudo ./gradlew clean
cd ..