faugusztin commented on issue #833:
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/833#issuecomment-745242848


   As the [Google Maps 
documentation](https://developers.google.com/maps/documentation/urls/ios-urlscheme)
 explains, the calling app got 2 choices:
   - an app can call Google maps via[ universal 
links](https://developer.apple.com/library/archive/documentation/General/Conceptual/AppSearch/UniversalLinks.html),
 using 'standard' google maps URL. So if you try to open an URL of 
"https://www.google.com/maps/@42.585444,13.007813,6z";, if Google Maps  is 
installed, it should catch that URL and open it in the app. By the definition 
of how universal links work (checked against an actual file on the webserver), 
these cannot be 'hijacked'. This is probably the way Whatsapp calls Google Maps.
   - other option are the 'old' [URL 
schemes](https://developer.apple.com/documentation/xcode/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app)
 of comgooglemaps://, comgooglemaps-x-callback:// and comgooglemapsurl://. 
These are not checked against any server side component, thus any app can 
declare these. That is why Apple recommends to use Universal links (literally 
the first bullet point of benefits is: "Unique. Unlike custom URL schemes, 
universal links can’t be claimed by other apps, because they use standard HTTP 
or HTTPS links to your website.").


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to