Skip to content

eugenehp/react-native-deep-linking

Repository files navigation

BillingApp

An example of deep linking execution in React Native using TypeScript and react-navigation.

demo

Installation

npm i -s @react-navigation/native
npm i -s @react-navigation/stack --force
npm i -s react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view
react-native link
cd ios
pod install

Running

react-native run-ios # run-android 

Testing on iOS

Open Safari and navigate to billing-app://billing/5

Testing on Android

adb shell am start \
        -W -a android.intent.action.VIEW \
        -d billing-app://billing/5 com.billingapp/.MainActivity

Sponsorship

Thank you to our sponsors:

Reactive Lions™

License

MIT

Copyright (c) 2021 Eugene Hauptmann