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

Fixes issue with auto-detected links not opening. #601

Merged
merged 2 commits into from
Jan 22, 2015

Conversation

markrickert
Copy link
Contributor

Now for external links it specifically looks for http or https in the url scheme, thus allowing the system to handle map links, tel:, sms:, itms and mailto: (and whatever else that's not a simple web link to be opened in safari or google chrome.

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:
@ryanlntn
Copy link
Contributor

👍

@@ -119,13 +119,15 @@ def open_in_safari(inRequest)

# UIWebViewDelegate Methods - Camelcase
def webView(inWeb, shouldStartLoadWithRequest:inRequest, navigationType:inType)
Copy link
Owner

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?

Copy link
Contributor Author

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!

Copy link
Owner

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

@jamonholmgren
Copy link
Owner

I just removed CircleCI's web hook (they're not set up for RubyMotion), by the way.

@jamonholmgren
Copy link
Owner

Will merge when Travis finishes randomly failing for no reason.

@markrickert
Copy link
Contributor Author

👍 ❤️

jamonholmgren added a commit that referenced this pull request Jan 22, 2015
…ted-links

Fixes issue with auto-detected links not opening.
@jamonholmgren jamonholmgren merged commit 561c318 into master Jan 22, 2015
@jamonholmgren jamonholmgren deleted the fix-webscreen-autodetected-links branch January 22, 2015 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants