Earlier in this chapter, we covered how to handle invocation from an external app in iOS in the Handle being invoked by an external Android app recipe. In this recipe, we'll cover the same concept of deep linking in Android.
Handle being invoked by an external Android app
How to do it...
- Let's begin by opening the React Native Android project in Android Studio and navigating to AndroidManifest.xml.
- For our example, we will register our application under invoked://scheme. We'll update the <activity> node to the following:
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:windowSoftInputMode...