I have created a react-native project with CLI command npx react-native init myapp
By running the above command it has created a project for me with the package id com.myapp
But I don't want my package id to be com.myapp
instead I want it to be in.myapp.myapp123
so is it possible to change the package name to something like this?
The main thing I want to know is dose the package name can start with in.packagename
instead of com.packagename
. please help if you know the answer...
CodePudding user response:
To change of the com.
causes in Error and required for the Appstores. There is more Information here:
Change package name for Android in React Native
and
https://saumya.github.io/ray/articles/72/
CodePudding user response:
you can change myapp123 instead of myapp. so you can replace myapp to myapp123 in file listed below.
- app.json
- package-lock.json
- package.json
- android/settings.gradle
- android/app/BUCK
- AndroidManifest.xml
- MainActivity.java
- MainApplication.java