-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Description
I believe Linking.canOpenUrl returns a promise rather than a boolean so this will never work?
https://github.com/joshswan/react-native-autolink/blob/master/src/index.js#L62
Looks like the logic for fallbacks needs to be moved to the onPress function. Either by getURL passing an array of urls if there's a fallback, or a getFallback function such as in this fork?
https://github.com/conversocial/react-native-autolink/blob/master/src/index.js
Metadata
Metadata
Assignees
Labels
No labels