sp-react-native-in-app-updates icon indicating copy to clipboard operation
sp-react-native-in-app-updates copied to clipboard

Testing library on emulator or TestFlight

Open vadim-tarasenko opened this issue 3 years ago • 2 comments

In a documentation I see that the library make a decision about update availability depends on application version in the AppStore. Are there any ways to test this react-native-in-app-updates via TestFlight or even iOS emulator?

vadim-tarasenko avatar Jun 06 '22 14:06 vadim-tarasenko

Some similar issue here, getting the following response in console

{"other": {"updateIsAvailable": false}, "reason": "Couldn	 fetch the latest version", "shouldUpdate": false}

devWaleed avatar Jun 06 '22 19:06 devWaleed

If your app is available only in one country, the country field must be provided for the startUpdate and checkNeedsUpdate methods. By doing so, you can see the update alert on your ios device.

monireamini avatar Aug 05 '22 09:08 monireamini