Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

How to open App Store instead of iTunes store with react-native-version-check

$
0
0

I am using react-native-version-check to open app store/play store if update is available, but on iOS it open iTunes store, I want to open AppStore.
This is my code:

_onPressUpdate = async () => {        Linking.openURL(await VersionCheck.getStoreUrl({ignoreErrors: false, appID: "407690035", appName: "hotel-tonight-last-minute", packageName: "com.hoteltonight.android.prod"}));    }    // this appID and appName is just from some random app on the app store for testing

Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>