How to open directly my application in apple store ? I have try with this, but it will open itunes app not apple store app
Linking.openURL(
'itms-apps://apps.apple.com/id/app/halojasa/id1492671277?l=id'
).catch(err => {
console.log('Error from rate us ', err)
})
you have to add LSApplicationQueriesSchemes
to info.plist file.
<key>LSApplicationQueriesSchemes</key>
<array>
<string>itms-apps</string>
</array>
and if you use can use canOpenURL
method. it will prompt you error
const link = 'itms-apps://apps.apple.com/id/app/halojasa/id1492671277?l=id';
Linking.canOpenURL(link).then(supported => {
supported && Linking.openURL(link);
}, (err) => console.log(err));