How to check if there is an update in google play for my application

Asked

Viewed 43 times

1

I have an app published on google play, where now I have the need to check if there is an update for it, in case there is I need to do a routine. Is there such a possibility?

2 answers

0

Hello, on Google IO 2019 google has released this api for implementation. She calls herself in-app updates All you need to do is implement it in your app. Recalling that this new update format is available from Android 5.0 (API level 21).

Article of mindorks with details on the implementation.

0

If you use Firebase you can put the version variable in it through the Functions, then in your app you can use the BuildConfig.VERSION_NAME to make the comparison!

If you don’t use Firebase, endpoint your backend that returns the latest version of the app.

  • so... I’m using AWS I haven’t found an ideal way to solve this. I had to make the second option you suggested. I created an endpoint and I always consume it.

  • @Renansilva If the answer helped you mark it as useful. Hugs!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.