Link to Appstore/GooglePlay
let urlStore = 'iTunes Link';
if (Platform.OS === 'android') {
urlStore = 'Google Play Link';
}
Alert.alert(
'Appstore / Google Play',
'Linking to Store',
[{
text: 'OK',
onPress: () => Linking
.openURL(urlStore)
.catch(err => console.error('Unexpected Error', err))
}],
{ cancelable: false }
);