The “Open link” block has a “On error” part:
Does anyone know what could lead to the “On error” state? My question originates from my attempt to launch an app if installed using its URL scheme (examples) and get an error if it does not exist which means that the app is not installed and in that case, launch a web page version of the content I am trying to access.
So for example I am trying to open a Facebook page in the app if it is installed and if not, launch the web browser and display the page there. Logically, just using the page’s URL would work but at least on iOS it opens the web page version even if the app is installed. Then I am trying to use the fb:// scheme which does work if the Facebook app is installed but it does nothing if it is not since the fb:// scheme is not known to the OS unless the app is installed.
What would help would be to get an error returned from the “Open link” block if it tries to open a link (fb:// in this case) and “Open link” actually did return an error. I would then create an if-then-else statement to deal with the conditions.
Any ideas on this? Anyone knows what triggers the “On error” state?
Thanks
K