-
Notifications
You must be signed in to change notification settings - Fork 147
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
Fixes issue with auto-detected links not opening. #601
Conversation
Now for extternal links it specifically looks for http or https in the url scheme, thus allowing the system to handle map links, tel:, sms: and mailto:
👍 |
@@ -119,13 +119,15 @@ def open_in_safari(inRequest) | |||
|
|||
# UIWebViewDelegate Methods - Camelcase | |||
def webView(inWeb, shouldStartLoadWithRequest:inRequest, navigationType:inType) |
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.
Nitpicky, but could you rename these to in_request
and in_type
for consistency?
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.
It's been like that for a long time and NOW you're complaining?!
Sheesh!
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.
Should have left well enough alone! lol
I just removed CircleCI's web hook (they're not set up for RubyMotion), by the way. |
Will merge when Travis finishes randomly failing for no reason. |
👍 ❤️ |
…ted-links Fixes issue with auto-detected links not opening.
Now for external links it specifically looks for
http
orhttps
in the url scheme, thus allowing the system to handlemap
links,tel:
,sms:
,itms
andmailto:
(and whatever else that's not a simple web link to be opened in safari or google chrome.