Reputation: 822
Whenever I upload a new version of my app in Play Store, I want to show user in app that newer version is available please update the app after detecting the version. I am building my application using Ionic and Capacitor.
Now I have gone through many blogs and stackoverflow questions in which developers has mentioned about the MS App Center or Cordova App Update but I don't want to do using these two. I just want to get the version from Play Store of the same application and if the version mismatch then I will show an alert to user for app update.
I have also seen the blogs related to Jsoup.connect(...)
which is nothing but Native approach to get the version from Google Play Store but not reliable.
Is there any way to get the version from Play Store using any Capacitor plugin or something or even if Cordova App Update is the way to get the version in Ionic then how can I use the same in my Ionic + Capacitor based project.
Thanks in advance.
Upvotes: 4
Views: 1565
Reputation: 1049
I have found this promising repository of capacitor plugins. They are called Capawesome Team.
So far I haven't tested it. However I am going to. I will get back to you once I have news.
GitHub - Capawesome Team - Capacitor App Update
Upvotes: 0