Recently I tried to write a custom URL action on Launch Center Pro. The goal of this action is opening and searching a keyword into multiple map apps. The first app is Google Maps and second one is Daum Maps which is popular in Korea.
So my action sequence is below,
- Get a search keyword from user input on Launch Center Pro.
- Copy the keyword to iOS clipboard.
- Open and search on Google Maps app with the clipboard text.
- Open and search on Daum Maps app with the clipboard text.
To achieve these actions above, I wrote a custom URL like below.
launch://x-callback-url/clipboard?text=[prompt: Type a keyword]&x-success={{comgooglemaps-x-callback://x-callback-url?q=[clipboard]&x-success={{daummaps://search?q=[clipboard]}}}}
The actions are fine until 3rd steps above. But, the url action following after second x-success
which tries to open and search on Daum Maps app doesn’t work.
I think that the code looks fine to work. But, I don’t know why it doesn’t automatically switch to Daum Maps and search the keyword on the app.
If you know a solution on it, please let me know.
0 개의 댓글:
Post a Comment