O'Reilly logo

React Native By Example by Richard Kho

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Linking apps with a button

Deep linking allows us to interact with incoming and outgoing links to and from other apps. By creating a deep link for your app, you can enable other apps to talk to it directly and pass arguments to it, if desired.

You can also access other apps' deep links, opening them with custom arguments. In this chapter, we will learn how to access other apps using their deep links.

We will create a Button component that, on press, finds out whether Facebook is installed on the user's device and if it is, launches the app and tells it to open the Notifications page. If Facebook is not installed, it will open the React Native documentation on the device's default browser.

It's important to note that you can call Linking as ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required