diff --git a/packages/rn-tester/js/examples/Linking/LinkingExample.js b/packages/rn-tester/js/examples/Linking/LinkingExample.js index a33a5b20be46e3..2f84d7c5e0e6c6 100644 --- a/packages/rn-tester/js/examples/Linking/LinkingExample.js +++ b/packages/rn-tester/js/examples/Linking/LinkingExample.js @@ -33,7 +33,13 @@ class OpenURLButton extends React.Component { if (supported) { Linking.openURL(this.props.url); } else { - console.log("Don't know how to open URI: " + this.props.url); + console.log( + `Don't know how to open URI: ${ + this.props.url + }, ensure you have an app installed that handles the "${ + this.props.url.split(':')?.[0] + }" scheme`, + ); } }); }; @@ -134,6 +140,8 @@ exports.description = 'Shows how to use Linking to open URLs.'; exports.examples = [ { title: 'Open external URLs', + description: + 'Custom schemes may require specific apps to be installed on the device. Note: Phone app is not supported in the simulator.', render: function (): React.Element { return ; },