-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Edge browser support #1011
base: main
Are you sure you want to change the base?
Edge browser support #1011
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -1088,6 +1088,10 @@ private BrowserMatcher getBrowserAllowList(ReadableArray androidAllowCustomBrows | |||
browserMatchers.add(VersionedBrowserMatcher.SAMSUNG_CUSTOM_TAB); | |||
break; | |||
} | |||
case "edge": { | |||
browserMatchers.add(VersionedBrowserMatcher.EDGE_CUSTOM_TAB); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I run npx react-native run-android
I get the following:
error: cannot find symbol browserMatchers.add(VersionedBrowserMatcher.EDGE_CUSTOM_TAB);
As per these docs
However, when I comment this out, and set my default browser to Edge in the Android Emulator, the Example app does successfully open the links in Edge.
@@ -714,6 +714,10 @@ - (NSString*)getErrorCode: (NSError*) error defaultCode: (NSString *) defaultCod | |||
@"firefox": | |||
^{ | |||
return [OIDExternalUserAgentIOSCustomBrowser CustomBrowserFirefox]; | |||
}, | |||
@"edge": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get the following error when running npx react-native run-ios
or when I try to build directly within Xcode: No known class method for selector 'CustomBrowserEdge'
Same here, I was able to confirm that I can open the URLs within the buttons in the Example app in Edge for iOS, but only after commenting this out.
Fixes #...
Description
Edge Browser Support