We have been using Android Management apis and integrated an iFrame to publish private apps to profiles and groups. Is there any way we can publish two versions of the same app? e.g. one versions for test group and when it gets approved then push it to production group.
The problem we are facing right now is that whenever we push an update, the app gets updated on both the groups.
No, the play store won't allow a second app with the same
packageName
to be uploaded, an error will be thrown stating thatpackageName already exists
This applies to any google play store, if you uploaded the APP on private play store, you cannot upload it on the public play store and vice versa.
Now for the problem you are facing, you can use a workaround :
Set
"appAutoUpdatePolicy": "NEVER"
in the policy so that the APP doesn't get automatically updated.Push updates by specifying the
minimumVersionCode
in the policy of the application and send it out to the devices or groups that you want the APP to be updated.