-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
Package version : ^0.2.3
App Id : com.app.journy
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

