Android Question How to check for update?

Zeev Goldstein

Well-Known Member
Licensed User
Longtime User
Hi

I had a function that checked if there's an update to my app in google play store
Since sdk 34 it stopped working

How can i check for app update now?

Thanks
 

Zeev Goldstein

Well-Known Member
Licensed User
Longtime User
Can you put the code what/how it does ?
Experts may give some alternative to it.
thank you Anand for your reply
unfortunately i removed the code as it caused problems with google play store that blocked it
before sdk 34 it worked fine and i know it has issues with security
so i removed the code as i had to upload a new version (sdk 33 upgraded to sdk 34 - that was all)
now the app will automatically update by google store but i want to be able to notify and force in certain cases
any ideas?
thanks
 
Upvote 0

AnandGupta

Expert
Licensed User
Longtime User
Few suggestion based on Forum read.
  • upload a version text file at your server, read from your app and notify user
  • check gplay url and see the version number there, put version in whats new
  • push notification, complex though, to your app
 
Upvote 0

Zeev Goldstein

Well-Known Member
Licensed User
Longtime User
Few suggestion based on Forum read.
  • upload a version text file at your server, read from your app and notify user
  • check gplay url and see the version number there, put version in whats new
  • push notification, complex though, to your app
thanks
that's very close to what i currently do

how do i check gplay for current version?

i saw in other apps that they can activate directly the update instead of going to the app page and let the user press update
how can i do that if i find from gplay that there's an update?

many thanks
 
Upvote 0

AnandGupta

Expert
Licensed User
Longtime User
how do i check gplay for current version?

i saw in other apps that they can activate directly the update instead of going to the app page and let the user press update
how can i do that if i find from gplay that there's an update?
If you found the version difference, just open your gplay url, I think.
 
Upvote 0

AnandGupta

Expert
Licensed User
Longtime User
yes - but how do i check the gplay app version?
that will be a big step as i will be able to compare to the app's ver and take action
at this point this is the big question
Check my app gplay page
Mini Todo Widget – Apps on Google Play

See version written in what's new
B4X:
What's new
Fixed bugs. Added Contact developer option. Added smooth animation. Made more colorful for version 1.54

Similarly check your app page.
 
Upvote 0

Zeev Goldstein

Well-Known Member
Licensed User
Longtime User
thanks
that's not really what i wanted
i wanted to take the app version from the app's listing to from my update description
i know other are doing it so i wondered how do they do it and do the same trick
 
Upvote 0

AnandGupta

Expert
Licensed User
Longtime User
thanks
that's not really what i wanted
i wanted to take the app version from the app's listing to from my update description
i know other are doing it so i wondered how do they do it and do the same trick
Maybe experts here can throw some light on it.
 
Upvote 0

Zeev Goldstein

Well-Known Member
Licensed User
Longtime User
Ask the author of a app, on which you know it works, how they are doing it.

Or find a working java code (for SDK 34!). We can help porting it to b4a.
i wish i could
these are all kind of apps i have no contact to the developers
some are banks etc

i was hoping someone here can help...
i think we all need such a solution especially since what was working stopped due to sdk 34
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
thanks
EXACTLY what i meant
the problem is how to tell there's an update?
and then i will require someone else - an expert (i'm not - so far from this) to make it a b4a feature/lib so we can all use it
The API tells you if there's an update available & how long it has been available. Yeah - you need someone to wrap it for B4A...

- Colin.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…