This PR allows to use deeplinks/universal links in React Native visionOS apps.
In order to use this feature, users need to add this modifier to their App.swift file:
@main
struct RNTesterApp: App {
@UIApplicationDelegateAdaptor var delegate: AppDelegate
var body: some Scene {
RCTMainWindow(moduleName: "RNTesterApp")
.onOpenURL(perform: { url in
RCTLinkingManager.onOpenURL(url: url)
})
}
}
A more in-depth documentation page will be created.
Thanks to @thiagobrez for investigating this one and helping me with the implementation and testing 🙏
Changelog:
[VISIONOS] [ADDED] - Support for deep links / universal links
Summary:
This PR allows to use deeplinks/universal links in React Native visionOS apps.
In order to use this feature, users need to add this modifier to their App.swift file:
A more in-depth documentation page will be created.
Thanks to @thiagobrez for investigating this one and helping me with the implementation and testing 🙏
Changelog:
[VISIONOS] [ADDED] - Support for deep links / universal links
Test Plan:
Check if deeplink is opening the app