Skip to content

After redirect, Google Play Store shows Open instead of Update #94

@kduvignau

Description

@kduvignau

In my app, the update dialog shows up correctly, but after being redirected to Google Play Store, there is no Update button. When I click on Open, it opens my app again so I'm stuck.

If I open manually Google Play Store app and I go back to my app and click on update in dialog, then the Update button in Google Play Store is here.

Here is my code to check the app version:

  @override
  Widget build(BuildContext context) {
    // ...
    final newVersion = NewVersion();
    
    newVersion.getVersionStatus().then((versionStatus) {
      if (versionStatus != null && versionStatus.canUpdate) {
        newVersion.showUpdateDialog(
            dialogTitle: 'A new version is available',
            dialogText: 'Bla bla bla',
            updateButtonText: 'Update',
            context: context,
            versionStatus: versionStatus,
            allowDismissal: false);
      }
    });
    // ...

Here are the screenshots of the dialog and the Google Play Store page

261440372_497497411879363_3156045237385706847_n274833211_282093100667856_8963458191072803513_n

Package version : ^0.2.3
App Id : com.app.journy

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions