Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comparing installed Version with Google Play Store Version #124

Open
ramogundogdu opened this issue Feb 21, 2019 · 4 comments
Open

comparing installed Version with Google Play Store Version #124

ramogundogdu opened this issue Feb 21, 2019 · 4 comments

Comments

@ramogundogdu
Copy link

I am using Ionic 3. Is it possible that I compare the installed version with the version from Google Play Store and in the case if the installed version is smaller than the Google Play Store version, so that it will be redirected to the Google Play Store for updating.

Here is my code. The function always expects an .apk file. But I want it to be redirected directly to Google Store.

<update>
   <version>302048</version>
   <name>APK Name</name>
   <url>https://play.google.com/store/apps/details?id=.......?</url>
</update>
updateUrl = 'https://your-remote-api.com/update.xml;
this.appUpdate.checkAppUpdate(updateUrl).then(() => {
   console.log('Update available')
 });
@utpaul
Copy link

utpaul commented Mar 25, 2019

@ramogundogdu can you got any solution ?

@ramogundogdu
Copy link
Author

@utpaul still not.

@utpaul
Copy link

utpaul commented Mar 25, 2019

@ramogundogdu how to mange your apps update in google play store?

@ramogundogdu
Copy link
Author

ramogundogdu commented Mar 25, 2019

@utpaul I want to force users to update with this way. Some users reject Play Store updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants