Tutorial by Examples

To open a link call openURL. Linking.openURL(url) .catch(err => console.error('An error occurred ', err)) The preferred method is to check if any installed app can handle a given URL beforehand. Linking.canOpenURL(url) .then(supported => { if (!supported) { console.log('Unsuppor...
You can detect when your app is launched from an external URL. componentDidMount() { const url = Linking.getInitialURL() .then((url) => { if (url) { console.log('Initial url is: ' + url) } }).catch(err => console.error('An error occurred ', err)) } To enable this...

Page 1 of 1