skip to Main Content

I am new to react native and it is my first projet.
There is a command:

react-native init my-project --package-name=com.mycompagny

But it seems that everyone use now

npx create-expo-app my-project

How to set package-name with create-expo-app?
Which command better?

Thank you

2

Answers


  1. Chosen as BEST ANSWER

    I found the answer. You need to modify app.json file after generation as follow: https://pagepro.co/blog/publishing-expo-react-native-app-to-ios-and-android/


  2. After creating the expo app, you may use react-native-rename library to rename your package name or your bundle id

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search