You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a very different MainActivity.java file and looking at yours made me want to ask if i should change it or the react versions differ and if so, where can i put your configurations?
Here is how my android/app/src/main/java/com/myProjectName/MainActivity.java file looks like.
packagecom.mygpsproject;
importcom.facebook.react.ReactActivity;
publicclassMainActivityextendsReactActivity {
/** * Returns the name of the main component registered from JavaScript. * This is used to schedule rendering of the component. */@OverrideprotectedStringgetMainComponentName() {
return"mygpsProject";
}
}
Thank you :-)
The text was updated successfully, but these errors were encountered:
edit in different paths
../node_modules/react-native/local-cli/link/fixtures/android/0.17/MainActivity.java
../node_modules/react-native/local-cli/link/fixtures/android/0.17/patchedMainActivity.java:
Hi,
I have a very different
MainActivity.java
file and looking at yours made me want to ask if i should change it or the react versions differ and if so, where can i put your configurations?Here is how my
android/app/src/main/java/com/myProjectName/MainActivity.java
file looks like.Thank you :-)
The text was updated successfully, but these errors were encountered: