Reputation: 449
I use react-native to make an app, upload apk on play store, and get this issue: Publishing android app error: You need to use a different package name because "com.xxxx" already exists in Google Play.
My package name it is also connected to google-services.jason(firebase analytics and AdMob).
How properly change package name?
Upvotes: 3
Views: 2272
Reputation: 119
You definitely need to assign a new/unique bundle identifier to your app. For that you will have to make changes to:
But I would suggest you to use the package react-native-rename which will safely update the App and Package name as well.
For firebase (google-services.json), you will need to configure another app with newly created bundle id and then attach the updated .json file to the project.
Upvotes: 3