I have renamed my bundle Identifier from for example myApp
to myAppUser
.
and a clean build folder for ios/android, reset cache, remove node_modules then build app again.
In iOSApp won't work and I got this error
myApp has not been registered.
- A module failed to load due to an error and
AppRegistry.registerComponent
wasn't called.
In Androidworks very well.
Now in app.json
file after renamed that contains:
{"name": "myAppUser" ,"displayName": "myAppUser"}
index.js
/** * @format */import {AppRegistry} from 'react-native';import App from './App';import {name as appName} from './app.json';AppRegistry.registerComponent(appName, () => App);
when I change "name" in app.json
to myApp
iOS work and android Not work :\
So how can I solve this issue with the new name myAppUser
?