Skip to content
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

Opens Privacy/Terms links in the browser app #37

Merged
merged 3 commits into from
Jan 11, 2023

Conversation

wyattjoe40
Copy link
Collaborator

No description provided.

oliviakim321
oliviakim321 previously approved these changes Jan 10, 2023
@@ -206,6 +206,15 @@ - (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigati
[UIApplication.sharedApplication openURL:url];
decisionHandler(WKNavigationActionPolicyCancel);
return;
} else if ([navigationAction.request.URL.scheme isEqualToString:@"http"] || [navigationAction.request.URL.scheme isEqualToString:@"https"]) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we make this a case insensitive check like we do for android?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, good call, thank you! adding now

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@wyattjoe40 wyattjoe40 merged commit 827c897 into main Jan 11, 2023
@wyattjoe40 wyattjoe40 deleted the wdavis/fix-creative-links branch January 11, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants