8000 GitHub - calitb/ExpoDeepLinking: Testing for Expo, ReactNavigation (native-stack and bottom-tabs), and Deep Linking
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

calitb/ExpoDeepLinking

Repository files navigation

runs with Expo Go

Expo, ReactNavigation, and Deep Linking

Installing Expo

npm install -g expo-cli

and follow the Expo CLI Quickstart guide here

Running the App in your device

Start Expo

yarn start

Android

  1. Install the Expo Go app Here
  2. Open the Expo Go app and scan the QRCode shown in the terminal.

iOS

  1. Install the Expo Go app Here
  2. Open the Camera app and scan the QRCode shown in the terminal.

Running the App in your iOS Simulator / Android Emulator

Make sure to follow the React Native CLI Quickstart guide here since you will need to configure Xcode and Android Studio for this.

iOS Simulator

yarn ios

Android Emulator

yarn android

Trying Deep Linking (for demo #5)

In App.tsx make sure to run the Demo4 or Demo5 and then try the following commands (switch to --android if needed)

# It will open the Details page
npx uri-scheme open "exp://127.0.0.1:19000/--/item/2" --ios

# It will open the Modal page
npx uri-scheme open "exp://127.0.0.1:19000/--/modal" --ios

# It will open the Settings page
npx uri-scheme open "exp://127.0.0.1:19000/--/settings" --ios

# It will open the Unknown page
npx uri-scheme open "exp://127.0.0.1:19000/--/unknown/4" --ios

About

Testing for Expo, ReactNavigation (native-stack and bottom-tabs), and Deep Linking

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0