How to get package name and version number from play store?

1,788

There's no official way to do it using Flutter. But you can write code in platform wise. Above way is for Android.

Official documentation click here

medium article click tutorial

Share:
1,788
user9139407
Author by

user9139407

Updated on December 12, 2022

Comments

  • user9139407
    user9139407 over 1 year

    currently, I used firebase_remote_config to give update message to application. But I update firebase manual when always release new version. Is that anyway to check google play store app version number with package name?

    sample update message

    • Sunny
      Sunny almost 5 years
      The app store has the same version which is in your app. So you can use your app version for the comparison.
    • user9139407
      user9139407 almost 5 years
      @Sunny how to get version code from play store?
  • Sukhi
    Sukhi almost 5 years
    Yes dear, there's no doubt about that. I just gave you one alternative of connecting to the users who are not using the latest version of your app.
  • user9139407
    user9139407 almost 5 years
    Need to update manually right? Can to use native patform code to check play store version number?
  • user9139407
    user9139407 almost 5 years
    Can to use native platform code to check version number?
  • Sukhi
    Sukhi almost 5 years
    No, there's no native code/function/API to check Play Store version number.
  • Sukhi
    Sukhi almost 5 years
    I haven't tried it. If you think it will serve your purpose then go ahead and try. In my opinion, using Firebase cloud message is the quickest way involving no coding. Or writing a small API returning version number and build number will take a lot less time - as ultimately, all you intend is to show a pop-up if latest version is available out there.