DEV Community

Kabir Hossain
Kabir Hossain

Posted on

Android apps API version managing problem.

I have a android apps version 1.0.1. Now api and feature changed, current version would be 2.0.1. So I have to force the user to upgrade the apps. But at first I have to submit the apps to playstore and update the api to server for new features.

My question:

  1. Playstore needs time to review my apps, at that time, How I will mange my existing users(version 1.0.1), Because my api and database changed.
  2. How I will test version 2.0.1 at live before app update approval ?

I am waiting for your response. Thanks in advance.

Top comments (3)

Collapse
 
karandpr profile image
Karan Gandhi • Edited

Keep existing api till update is approved.
Once app is updated , update the api on server.
If you have push notifications, fire a push notification saying the older apps will stop working and they need to update apps.

Alternatively create an update to 1.0.2 which has code created to block certain versions. Viz you can create a webservice which checks for db allowed app versions and block functionality of older versions.

Collapse
 
kabircse profile image
Kabir Hossain • Edited

I know they test the live apps. Is not they test the live apps feature ? Can I update only apps without live api ?

Collapse
 
karandpr profile image
Karan Gandhi

Not sure about how extensively updates are tested now. Alternatively you need to host both APIs and then sunset older api after app is approved.