kimxogus / react-native-version-check

A version checker for react-native applications
MIT License
715 stars 171 forks source link

How forceUpdate property on needUpdate works? #184

Open Parkjunwu opened 1 year ago

Parkjunwu commented 1 year ago

Hello!

On VersionCheck.needUpdate, forceUpdate property exist.

But I cannot find how this property works.

On this library code, there is nothing about forceUpdate property.

I'd be grateful if you let me know about this.

Thank you!

bibhuti9 commented 1 year ago

same issue here . getCurrentVersion is work fine but getLatestVersion is not working

Bilal-Abdeen commented 1 year ago

@kimxogus Thank you very much for this excellent library. I am a bit confused about the forceUpdate option when set for needUpdate(). Does it have any effect?

Everyone, By the way, for those who need to understand the use of this option with getLatestVersion(), it is explained in the following comments: #14, #8