O'Reilly logo

React Native Cookbook by Crysfel Villa, Stan Bershadskiy

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

Handling being invoked by external iOS application

What good is an application if it isn't being used? We want our app to be used by our targeted users as much as possible. There are many ways of going about this, but one of the important factors is our app needs to be accessible. It needs to be so accessible, that other applications should feel inclined to link to it.

This recipe will describe how to set our application up to be invoked by other iOS applications.

How to do it...

  1. Open your React Native project in Xcode and open up the project's Build Settings.
  2. Add $(SRCROOT)/../node_modules/react-native/Libraries to your Header Search Paths field as a recursive entry:

  3. Next, we need to register the URL scheme that will be used by other applications. ...

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