diff --git a/example/android/app/app.iml b/example/android/app/app.iml
index 8d217673..74df8504 100644
--- a/example/android/app/app.iml
+++ b/example/android/app/app.iml
@@ -4,8 +4,8 @@
-
-
+
+
@@ -19,8 +19,8 @@
-
-
+
+
@@ -70,6 +70,7 @@
+
@@ -90,91 +91,103 @@
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml
index 3d8429ad..4a0a06f5 100644
--- a/example/android/app/src/main/AndroidManifest.xml
+++ b/example/android/app/src/main/AndroidManifest.xml
@@ -36,12 +36,19 @@
+
+
+
+
+
+
diff --git a/example/ios/ReactNavigationExample/AppDelegate.m b/example/ios/ReactNavigationExample/AppDelegate.m
index d86af092..db63f918 100644
--- a/example/ios/ReactNavigationExample/AppDelegate.m
+++ b/example/ios/ReactNavigationExample/AppDelegate.m
@@ -13,6 +13,7 @@
#import
#import
#import
+#import
@implementation AppDelegate
@@ -52,4 +53,10 @@
#endif
}
+- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url
+ options:(NSDictionary *)options
+{
+ return [RCTLinkingManager application:app openURL:url options:options];
+}
+
@end
diff --git a/example/ios/ReactNavigationExample/Info.plist b/example/ios/ReactNavigationExample/Info.plist
index 2dca980f..ebefa133 100644
--- a/example/ios/ReactNavigationExample/Info.plist
+++ b/example/ios/ReactNavigationExample/Info.plist
@@ -20,33 +20,27 @@
1.0
CFBundleSignature
????
+ CFBundleURLTypes
+
+
+ CFBundleTypeRole
+ Editor
+ CFBundleURLName
+ React Navigation Example
+ CFBundleURLSchemes
+
+ rne
+
+
+
CFBundleVersion
1
LSRequiresIPhoneOS
- NSLocationWhenInUseUsageDescription
-
- UILaunchStoryboardName
- LaunchScreen
- UIRequiredDeviceCapabilities
-
- armv7
-
- UISupportedInterfaceOrientations
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- UIViewControllerBasedStatusBarAppearance
-
- NSLocationWhenInUseUsageDescription
-
NSAppTransportSecurity
-
- NSAllowsArbitraryLoads
-
+ NSAllowsArbitraryLoads
+
NSExceptionDomains
localhost
@@ -78,5 +72,19 @@
Give React Navigation Example periences permission to access your photos
NSRemindersUsageDescription
Allow React Navigation Example to access your reminders
+ UILaunchStoryboardName
+ LaunchScreen
+ UIRequiredDeviceCapabilities
+
+ armv7
+
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UIViewControllerBasedStatusBarAppearance
+
diff --git a/example/src/LinkingPrefixes.ts b/example/src/LinkingPrefixes.ts
index d6d1738d..8ab30235 100644
--- a/example/src/LinkingPrefixes.ts
+++ b/example/src/LinkingPrefixes.ts
@@ -1 +1 @@
-export default [];
+export default ['rne://127.0.0.1:19000/--/'];
diff --git a/example/src/index.tsx b/example/src/index.tsx
index fe529d22..03e3ccf1 100644
--- a/example/src/index.tsx
+++ b/example/src/index.tsx
@@ -112,6 +112,8 @@ export default function App() {
// To test deep linking on, run the following in the Terminal:
// Android: adb shell am start -a android.intent.action.VIEW -d "exp://127.0.0.1:19000/--/simple-stack"
// iOS: xcrun simctl openurl booted exp://127.0.0.1:19000/--/simple-stack
+ // Android (bare): adb shell am start -a android.intent.action.VIEW -d "rne://127.0.0.1:19000/--/simple-stack"
+ // iOS (bare): xcrun simctl openurl booted rne://127.0.0.1:19000/--/simple-stack
// The first segment of the link is the the scheme + host (returned by `Linking.makeUrl`)
const { getInitialState } = useLinking(containerRef, {
prefixes: LinkingPrefixes,