224
Views
10
Comments
[AppLauncherPlugin] iOS not launch
applauncherplugin
Mobile icon
Forge asset by Eduardo Jauch

My experience with this plugin using URI was great on Android but on iOS didn't work.

Also I try to puts on Extensibility Configuration this tag and not work.

Test on Safari the URI and works, but using my app to call that, not work as well

           {
                "name": "LSApplicationQueryStrings",
                "value": [ "waze", "comgooglemaps", "maps.apple.com"]
            }

Code:

  • CanLaunch
    • JSON = SyntaxEditor Code Snippet
      "{
          ""uri"":""maps.apple.com://""
       }"
  • Launch
    • JSON = SyntaxEditor Code Snippet
      "{
          ""uri"":""maps.apple.com://" + Query + """
       }"
    • Parameter - Query = SyntaxEditor Code Snippet
"?saddr=Alameda+Vicente+Pinzon,+51&daddr=Av.+Brg.+Faria+Lima,+3477&z=10&t=r&dirflg=d"

Environment:

iPhone SE - iOS version 11.4.1

The mentionated apps are allready install in the iPhone.

Referring to the discussion in the other post: Not Working on iOS

code_launch.PNG
2018-05-30 12-16-38
Marcel M. Falcão

Example with Google Maps didn't work too:

Code:

  • CanLaunch
    • JSON = SyntaxEditor Code Snippet
"{
    ""uri"":""comgooglemaps://""
 }"
  • Launch
    • JSON = SyntaxEditor Code Snippet
      "{
          ""uri"":""comgooglemaps://" + Query + """
       }"
    • Parameter - Query = SyntaxEditor Code Snippet
"?saddr=Alameda+Vicente+Pinzon,+51&daddr=Av.+Brg.+Faria+Lima,+3477&directionsmode=driving"
2018-05-30 12-16-38
Marcel M. Falcão

Marcel M. Falcão wrote:

Example with Google Maps didn't work too:

Code:

  • CanLaunch
    • JSON = SyntaxEditor Code Snippet
"{
    ""uri"":""comgooglemaps://""
 }"
  • Launch
    • JSON = SyntaxEditor Code Snippet
      "{
          ""uri"":""comgooglemaps://" + Query + """
       }"
    • Parameter - Query = SyntaxEditor Code Snippet
"?saddr=Alameda+Vicente+Pinzon,+51&daddr=Av.+Brg.+Faria+Lima,+3477&directionsmode=driving"

Google Maps - Developer Guide Reference


2018-05-30 12-16-38
Marcel M. Falcão

Example with Waze didn't work too:

Code:

  • CanLaunch
    • JSON = SyntaxEditor Code Snippet
      "{
          ""uri"":""waze://""
       }"
  • Launch
    • JSON = SyntaxEditor Code Snippet
      "{
          ""uri"":""waze://" + Query + """
       }"
    • Parameter - Query = SyntaxEditor Code Snippet
      "?ll=-23.5864866,-46.6842497,17&navigate=yes"
2018-05-30 12-16-38
Marcel M. Falcão

Marcel M. Falcão wrote:

Example with Waze didn't work too:

Code:

  • CanLaunch
    • JSON = SyntaxEditor Code Snippet
      "{
          ""uri"":""waze://""
       }"
  • Launch
    • JSON = SyntaxEditor Code Snippet
      "{
          ""uri"":""waze://" + Query + """
       }"
    • Parameter - Query = SyntaxEditor Code Snippet
      "?ll=-23.5864866,-46.6842497,17&navigate=yes"

Waze - Deep Links Reference


2018-05-30 12-16-38
Marcel M. Falcão

The same example for Waze and Google Maps work on Android, wich kind options that I had to try on iOS?

Best Regards,

Marcel

2018-05-30 12-16-38
Marcel M. Falcão

Marcel M. Falcão wrote:

My experience with this plugin using URI was great on Android but on iOS didn't work.

Also I try to puts on Extensibility Configuration this tag and not work.

Test on Safari the URI and works, but using my app to call that, not work as well

           {
                "name": "LSApplicationQueryStrings",
                "value": [ "waze", "comgooglemaps", "maps.apple.com"]
            }

Code:

  • CanLaunch
    • JSON = SyntaxEditor Code Snippet
      "{
          ""uri"":""maps.apple.com://""
       }"
  • Launch
    • JSON = SyntaxEditor Code Snippet
      "{
          ""uri"":""maps.apple.com://" + Query + """
       }"
    • Parameter - Query = SyntaxEditor Code Snippet
"?saddr=Alameda+Vicente+Pinzon,+51&daddr=Av.+Brg.+Faria+Lima,+3477&z=10&t=r&dirflg=d"

Environment:

iPhone SE - iOS version 11.4.1

The mentionated apps are allready install in the iPhone.

Referring to the discussion in the other post: Not Working on iOS

Apple URL Scheme Reference

2018-05-30 12-16-38
Marcel M. Falcão

Just for INFO, the image below represent the Manager action for those tests mentioned.

But the errors occurs on CanLaunch action, all ready mentionated.

2020-02-28 09-46-54
Eduardo Jauch

Hi Marcel, 

Thanks for the tests.
I'm aware that the iOS plugin is not working.

I'm on it to see how to solve the problem.
If you don't mind, in the next days I'll enter in contact with you in order to test a new version of the plugin.

Cheers. 

2018-05-30 12-16-38
Marcel M. Falcão

Eduardo Jauch wrote:

Hi Marcel, 

Thanks for the tests.
I'm aware that the iOS plugin is not working.

I'm on it to see how to solve the problem.
If you don't mind, in the next days I'll enter in contact with you in order to test a new version of the plugin.

Cheers. 

Ok Eduardo, anything that I can do for help, please contact me.


2023-12-15 13-47-48
Marian-Vlad Man

Hello,

Example with Testo Combustion App didn't work too:


Code:

CanLaunchWithData

LauncherData.uri = "testot330://start?userinfo=parameter&bundleid=com.enel.mobile.xInstaller.dev"


Error: No App installed that can handle that uri.


I've tried to launch it in a native app and it did work. See the code below:






Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.