Change package name for Android in React Native

I used react-native init MyApp to initialise a new React Native app.
This created among others an Android project with the package com.myapp.

What’s the best way to change this package name, for example to: com.mycompany.myapp?

I tried changing it in AndroidManifest.xml but it created other errors, so I’m assuming it’s not the way.

Any idea?

30 Answers
30

Leave a Comment