Re: Issue 319 in iui: Add sms: itms: and callto: to nativeUrlPatterns

4 views
Skip to first unread message

i...@googlecode.com

unread,
Nov 22, 2011, 1:15:13 AM11/22/11
to iui-i...@googlegroups.com
Updates:
Summary: Add sms: itms: and callto: to nativeUrlPatterns
Status: Accepted
Owner: msgilli...@gmail.com
Cc: remi.grumeau

Comment #1 on issue 319 by msgilli...@gmail.com: Add sms: itms: and callto:
to nativeUrlPatterns
http://code.google.com/p/iui/issues/detail?id=319

(No comment was entered for this change.)

i...@googlecode.com

unread,
Feb 6, 2012, 7:21:22 PM2/6/12
to iui-i...@googlegroups.com

Comment #2 on issue 319 by msgilli...@gmail.com: Add sms: itms: and callto:
to nativeUrlPatterns
http://code.google.com/p/iui/issues/detail?id=319

Should we just keep adding patterns to the nativeUrlPatterns array or
should we say anything that is not http:// or https:// as a native URL and
only use patterns once we've determined it's http:// or https:// ??


i...@googlecode.com

unread,
Feb 6, 2012, 7:40:32 PM2/6/12
to iui-i...@googlegroups.com

Comment #3 on issue 319 by msgilli...@gmail.com: Add sms: itms: and callto:
to nativeUrlPatterns
http://code.google.com/p/iui/issues/detail?id=319

If you need to add URL patterns to the list of nativeUrlPatterns, you can
do something like this:

iui.nativeUrlPatterns.push(new RegExp("^sms:"));

after the iui.js script has been loaded.


i...@googlecode.com

unread,
Jul 22, 2012, 5:15:31 AM7/22/12
to iui-i...@googlegroups.com
Updates:
Status: Fixed

Comment #4 on issue 319 by msgilli...@gmail.com: Add sms: itms: and callto:
to nativeUrlPatterns
http://code.google.com/p/iui/issues/detail?id=319

callto: and sms: links are supported in 0.4-beta3 and later.
I did not add itms links since they are deprecated. If you need them you
can use:

iui.nativeUrlPatterns.push(new RegExp("^itms:"));


Reply all
Reply to author
Forward
0 new messages