Recently switched our build targets to android 30 to add support for Android 11, now directions and call for phone are not working.
The documentation mentions deep linking natively and or the use of an npm package. Would this be done natively? Or is the package an option?
https://reactnative.dev/docs/linking
Linking.canOpenURL is now returning false when checking if it is supported when running android 30.
Linking.canOpenURL(url)
.then((supported: boolean) => (supported ? Linking.openURL(url) : Alert.alert("Error", "There was an error attempting to opening the location.")))
.catch(() => Alert.alert("Error", "There was an error attempting to opening the location."));