Android publishing two apps with same package id - android

Inside of the Android Developer Console I would like to have 2 applications, MyAppName and MyAppName-Staging. The only differences between these two apps would be:
The API environment they point (prod vs. staging)
One would be for external Play Store release while the other (MyAppName-Staging) would be intended only for internal users in my company.
Would I be allowed to use the same package/app ID for both of these or would I need to change the package ID for each one? My assumption is I would need to change it, if thats the case can I use the same code base but just change the app ID and rebuild the apk to achieve this?
For additional context I've built this app using Nativescript. So all packaging info is handled through a package.json file and code signing must be done through the CLI. I just want to make sure I can't code sign myself into a situation where I can't release my build to production (the MyAppName build) Thanks for any guidance.

From my experience, Google Play Store doesn't allow 2 apps having the same package name to be published. You would need to either:
Change your package name
or if you want to have the same package name regardless,
Upload your staging app (with the same package name) to the beta channel of your live app then select users to be invited to the beta.

The developer console has the concept of beta builds that you can distribute to list of members or open to play store. You could build with same package name but pointing at different environment and distribute through there.
Then point back to prod when you release your official build.
https://support.google.com/googleplay/android-developer/answer/3131213?hl=en

Related

Xamarin - What apk package(s) should I use when I publish my app to the google store

With Visual Studio 2019 I created a archive folder that contains 3 signed-apk files for the app I plan on publishing to the google store.
In the signed-apks folder the file names are:
com.blah1.app.apk
com.blah1.app-arm64-v8a.apk
com.blah1.app-armeabi-v7a.apk
Which one(s) should I use? The Google Play Console seems to let me add all 3. Any other information you also provide would be great as well.
Thanks.
You should upload all three. you are generating an apk per ABI
From the documentation:
Multiple APK support is a feature on Google Play that allows you to
publish different APKs for your application that are each targeted to
different device configurations. Each APK is a complete and
independent version of your application, but they share the same
application listing on Google Play and must share the same package
name and be signed with the same release key. This feature is useful
for cases in which your application cannot reach all desired devices
with a single APK.

How to upload .apk version to beta channel

I've an application which has two product flavors:
production
development
Current .apk version published inside play store is with version code 40 and it's production flavor, so the package looks something like this: "example.smth.app". I've released a new functionality in development environment and I want to fully test billing inside my android application. I cannot receive SKUs, because I run the code with development flavor and that's normal as I have to post development version to access SKUs list.
Well, I made an .apk for development environment. It has version code 36. I got an message that:
Your APK or Android App Bundle needs to have the package name "example.smth.app".
You need to use a different version code for your APK or Android App Bundle because you already have one with version code 40.
Well, I could just solve the second point by changing the version code of .apk from 37 to 40 and that would resolve this, I guess, but what to do with the first point?
For development apks we have package name like this: "example.smth.app.dev" - does this mean that it's not possible to post this .apk to beta channel?
No, it is not. The beta channel has the same package name as all other channels. The package name is fix for the app.

Publishing KoBoToolbox apk to playstore

I am new to kobotoolBox, I was required to add some changes to kobotoolBox project. I have successfully run the project in android studio and have applied changes and now need to publish that.
I want to ask that I have cloned this project from GitHub means it has the same package name with which already an APK is published on play-store. What should I do to publish APK that I have created. Should I need to change the package name or there is another alternative way aside from changing package name??
You may check this guide to help you started.
Publishing is the general process that makes your Android applications
available to users. When you publish an Android application you
perform two main tasks:
You prepare the application for release.
During the preparation step you build a release version of your
application, which users can download and install on their
Android-powered devices.
You release the application to users.
During the release step you publicize, sell, and distribute the
release version of your application to users.
Explore the page for you to get the proper steps when publishing an application.
Hope this helps.

Rename package name in android using commands

I want to change package name of an android project/apk so that i can have different version's of an application.
For this i have gone through some stackoverflow' questions for this { link1 , link2}. My project is build with gradle. In these stack's answer's i was not cleared where to change in [roject's build.xml or sdk's build.xml.
Is this possible to change package name with "–rename-manifest-package" and release application on google play store? or i need to do somthing else.
For different version, change version on gradle file and make another apk then release it on google plays store. There is an option on google store it should be release new version or something like that.
However, it is not possible to change current application's package name which is on google play store.
If you cannot do, I'll try to add step by step guide.
EDIT:
At first you need to change your app's version in here which is build.gradle(Module: app)
and then you need to create new signed apk since you want to publish it;
After creating signed apk you need to access your developer account and click APK section first and then upload new version of your application.

Posting a new application on Play store as an update which uses same keytore file,package name etc

I have hosted an Android application on play store.I have somehow managed to corrupt the source project and I am using Page on eclipse. My question is if I create a new fresh project using same package name, with same name of Application and use same Keystore file for signing the application and just version update. Can I add it to the Play store as an update to the existing hosted application?
Yes, you can.
Below is what Google Developer help section says.
The Package Name of the updated APK need to be the same as the current version.
The Version Code needs to be greater than that current version. Learn more about versioning your applications.
The updated APK needs to be signed with the same signature as the current version.
If you pass these requirement, it doesn't matter how many times you have created the same project. So don't worry!
Yes , You can. If your using same application Id and signing key store and app version code +1

Categories

Resources