Closed HappySinha closed 3 years ago
Hello - do you still need assistance here?
Hello - do you still need assistance here?
Yes I need assistance. Can you provide me please
Ah ok - you closed this issue so I thought it might be resolved.
What values are localVersion
and storeVersion
being set as?
Yes I'm solved this is issue in my code. But you very need to resolve this issue. I request you. Please please please 🙏
Oh I see the issue - calling newVersion.showUpdateDialog
will show an update dialog no matter what. So you have to either:
newVersion.showAlertIfNecessary()
which will fetch the store version and display the alert if it is higher than local.Oh I see the issue - calling
newVersion.showUpdateDialog
will show an update dialog no matter what. So you have to either:
- Call
newVersion.showAlertIfNecessary()
which will fetch the store version and display the alert if it is higher than local.- Compare the local and store versions manually, as you are doing in your second code block.
Oh yes | Thank-you so much for helping me
I don't know why I'm facing this issue. When my local app version and PlayStore version are the same after that show this pop-up.
I'm using very simple code and default code
This is a Screenshot:- https://user-images.githubusercontent.com/53011602/133896317-4ba20fa4-0e10-4c05-b02f-193073fe070b.jpg
This code work on our project.