Pableras84
Pableras84

Reputation: 1195

If i change the package name of my app... when i upload to googleplay the users will can update their apps?

Hi I have an app on googleplay and I updated the code of the app.

I moved the main activity of my app to another package, from com.myapp to com.myapp.activities. So I must change the package name on the manifest to com.myapp.activities.

Now, I want to upload this update of my app to googleplay. Will the package name change give users problems when they update their apps to this newer version?

Upvotes: 0

Views: 334

Answers (1)

Cat
Cat

Reputation: 67522

The package attribute of the manifest tag in AndroidManifest.xml cannot change once you've uploaded the app to Google Play. This is the unique ID of the application and cannot be changed one it's published.

However, you can move the main activity itself; just move it to the new package (as you did), then change:

<activity android:name=".MyActivity" ... />

... to:

<activity android:name="com.myapp.activities.MyActivity" ... />

Upvotes: 2

Related Questions