For Splash Screen we have to change the name from old to new.
And in MainApplication.java we have to change package name at class as shown below.
privatestaticvoidinitializeFlipper(Contextcontext,ReactInstanceManagerreactInstanceManager){if(BuildConfig.DEBUG){try{/*
We use reflection here to pick up the class that initializes Flipper,
since Flipper library is not available in release mode
*/Class<?>aClass=Class.forName("com.<New_Package_name>.ReactNativeFlipper");aClass.getMethod("initializeFlipper",Context.class,ReactInstanceManager.class).invoke(null,context,reactInstanceManager);
You sir a legend!!
You saved me as google play store is saying "App package name already exists" and I have to do all the steps mentioned here!!
Thanks a lot!
Glad it helped!
Please add two more things here.
I ran into errors because of these ones.