-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edge browser support #1011
base: main
Are you sure you want to change the base?
Edge browser support #1011
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more. I get the following error when running 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. |
||
^{ | ||
return [OIDExternalUserAgentIOSCustomBrowser CustomBrowserEdge]; | ||
} | ||
}; | ||
BrowserBlock browser = browsers[browserType]; | ||
|
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.