I've published an app to the playstore. On the same time, I worked on an update, but the update has a different package name.
Like:
Release version 1.0 -> com.domain.packageOne
Release version 1.1 -> com.domain.packageTwo
Can I now add packagteTwo without problems to the production phase or will then, the device download both versions? The problem then would be, that the user would have two verions of my app.
Or do I need to change the package name in my project so it matches packageOne? Thanks!
When doing an update for an app, it should have the same package name, and should always be signed with the original signing certificate used when the app was first published.
If you upload your update with a different package name, the play store will treat it as two separate apps, I'm not sure whether or not it will allow the same application name, as viewing in app listings, to be the same, I don't believe it does so you would probably get an error anyway stating that an app with that name already exists.
If the actual application name is also different, then the play store will treat it as two different apps.
If you change your package name to be the same as the original package name, you can update the app as long as you use the same signing certificate as the original app.
Hope this helps.
if you want to make an update to your app it has to have the same package name. Just increase the application version
See this link on how to specify versions on your app
Related
I have my PROD app installed on my android phone with the package name "com.mycompany.app". however to develop and test my app I use the package name "com.mycompany.debugapp". in this way I can have the 2 app at the same time installed on my phone, the PROD version and the development version.
This was working great style I decide to implement billing :( from my development app, when I call querySkuDetailsAsync, it's return me an empty list :( I guess it's because I use com.mycompany.debugapp instead of com.mycompany.app. Is their any way to test billing services from my development app com.mycompany.debugapp?
The problem you are facing with billing, is exactly as you thought due to the different package names. Regardless of whether your package names are similar, if they have at least 1 different character, then both the OS and Google treat them as two completely unrelated and different apps.
You should always use a fixed package name regardless the build type or any other requirement. The package name is your app's unique identifier and must be permanently fixed.
To differentiate debug/release builds use instead build variants.
If you need to test billing in debug, first publish a release build as internal test, then you will be able to test your debug builds. Notice it may take a few hours until you are able to start testing once published.
I have published an Ionic app to google play and it's working fine. But, I had to make a change to its package name and now when I try to reupload it, it says the package name should be the same as previous version.
Your APK needs to have the package name com.mypackagename.
You need to use a different version code for your APK because you already have one with version code 'myversioncode'.
I'm happy to take down the whole app and upload the newer version but I don't think google would allow me to do it.
How can I work around this? Should I update the version code as well?
Think of the packagename as kind of a unique id for you app. If you look closely, a playstore-link is always a combination of the url and your packagename, like https://play.google.com/store/apps/details?id=COM.YOUR.PACKAGENAME.
When you create a new app project in the developer console, and upload the first apk, this project is permanently linked to the given package name.
I think the reason for this is androids app update scheme. By comparing the package names it checkts if you have a certain app installed, and if the installed version has a lower versioncode then the one available, it detects that you could update it.
So basically you have two options:
A) keep the old package name and do a regular update
B) change the package name and create a new app project in the developer console. publish your "new" app. Keep in mind that this app starts at zero, so your previous downloads and ratings are gone
You can not update the same app with different package name instead disable the previous app and upload new app with a new package name.
I am working in the 1.1 version of an app which first version (1.0) was made for a consulting company. That company published the app in Play using a package like com.thatcompany.mycompany. Our problem is that currently we want to deliver the 1.1 version as com.mycompany. As long as I know if we try to do that (change the package) our app don't be perceived for Play market as an upgrade of the last version but as a different application. Does exist some way to do package change and still being the same application on Play in order to the user be encouraged to update? Thanks.
As far as i know, you can't.
Your app is signed.
Signing uses your keystore and the package name.
If you change any of these the Play store will recognize it as a different application.
I believe it has something to do with security.
You cannot.
An application is uniquely identified in the market place with its package name, therefore you cannot change the package name anymore (the same goes with the key).
You cannot change either the package name or keystore used to sign your app.
To confirm what everyone else says, you CANNOT modify your package once your app has been published.
i developed a app in android and released a first version. but now i lost my previous (private key)debug.keystore . Now im going to release a second version with a different private key. but this second version didn't install in phone. how can i resolve this problem? thanks in advance.
You will have to uninstall the old version and then install the new one, as Android doesn't allow updates to be installed if they have a different signature.
Additionally, all of your users will have to do the same, and App stores like Google Play won't allow you to use an update signed with a different key. You will have to publish your app again under a different package name.
Just change your Package Name and change that in androidManifest file also and Upload with new KeyStore. No other way. Because google won't allow you to upload another application having same Package name.
I want to rename my published app during next upgrade, will the Android Market treat this as just another regular upgrade and preserve the associated ratings and comments? The app will keep the same package name.
As long as the package name is same , it doesn't matter what app name you keep. I frequently switch my apps Title(in market) and also app_name . and everything remains the same