[openstreetmap/openstreetmap-website] Support android intent uri for JOSM style remote control (#1478)
Simon Poole
notifications at github.com
Tue Mar 7 22:48:47 UTC 2017
simonpoole commented on this pull request.
> + },
+ Android: function() {
+ return /Android/i.test(navigator.userAgent);
+ },
+ BlackBerry: function() {
+ return /BlackBerry/i.test(navigator.userAgent);
+ },
+ iOS: function() {
+ return /iPhone|iPad|iPod/i.test(navigator.userAgent);
+ },
+ any: function() {
+ return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Windows());
+ }
+ };
+
+ function url() {
Typically you wouldn't want to use a function for this or below just for one variant, I just wanted to leave the door open for potential support of at least GoMap!!. But @bryceco needs to way in on that.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1478#discussion_r104801274
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170307/d9634209/attachment.html>
More information about the rails-dev
mailing list