Page 1 of 1

custom URL won't work

Posted: Tue Oct 18, 2022 6:59 pm
by simon.schvartzman
Hi team, I have tested (on iOS simulator) the custom URL scheme following the lesson

https://lessons.livecode.com/m/4069/l/5 ... rl-schemes

and it works fine but when I try to use the same approach on my own APP it downs work.

This is how I did it:

Added the following code to the card script where I want the APP to open

Code: Select all

on urlWakeUp pURL
   ## This message is received by the app when a custom url is used to launch the app
   answer "Got it"
end urlWakeUp
Stand alone settings:
Screen Shot 2022-10-18 at 12.35.07.png
calling from Safari
Screen Shot 2022-10-18 at 12.35.15.png
result:
Screen Shot 2022-10-18 at 12.35.39.png
Screen Shot 2022-10-18 at 12.35.39.png (38.14 KiB) Viewed 9028 times
Can't figure out what I am doing wrong and will appreciate any help/hint

Many thanks

Re: custom URL won't work

Posted: Thu Oct 20, 2022 4:28 pm
by simon.schvartzman
With the customary help from Panos I was able to solve the problem.

It is related with using custom plist.

The custom plist has to be modified in order to support custom URL Scheme as described in the bug report below

https://quality.livecode.com/show_bug.cgi?id=23988

Regards