Signal's new(ish) URI Scheme
A few years ago, I idly wondered "Whatever happened to URI Schemes?". Older communications protocols didn't rely on http
. You can use mailto:me@example.com
to send email, sms:+447700900123
to send a text message, and skype:terence.eden
to use Skype. There are dozens of these sorts of protocols.
But modern apps seem to prefer making everything an https:
link. That way, if the user doesn't have the app installed on their phone, they get taken to a friendly landing page - rather than seeing an error message.
The Signal messaging app launched signal.me
URls for this purpose back in 2021. It allows you to share a link like https://signal.me/#p/+447700900123 and have your signal client open up a chat with that person.
Then, towards the end of 2022 they added support for their own scheme! sgnl
(although it doesn't appear to have been submitted as an IETF draft, and isn't listed on IANA).
It has exactly the same layout as it's https
sibling: sgnl://signal.me/#p/+447700900123
Of course, not everyone has (or wants) a phone number. So Signal are adding support for usernames.
Sadly, they've taken the same xenophobic attitude as GitHub and insist that only good ol' American letters and numbers can be used. No fancy accents, right-to-left languages, or Korean Hangul.
Nevertheless, it will be interesting to see if this prompts a surge in Signal take-up. Especially important as Signal are dropping SMS support
Signal Messenger Contact
Reply to original comment on mastodon.social
|Reply to original comment on urbanists.social
|XMPP Invitation
Reply to original comment on chaos.social
|web+*
. Some example apps that use it: https://developer.chrome.com/fugu-showcase/?api=protocol-handlers.URL protocol handler registration for PWAs - Chrome Developers
Reply to original comment on toot.cafe
|A major reason for the change was that sneaky AdTech tracking SDKs were surreptitiously probing for whether URL schemes were supported to detect what apps you have installed on your phone, for nefarious fingerprinting purposes.
Unlike custom URL schemes, Universal Links fall back to the web version so there is no reason to provide an API to see if they are supported by a native app or not.
Apple still allows apps to use custom URL schemes to integrate with other apps, but only a limited number of allowlisted schemes that must be statically predeclared in the app's Info.plist metadata submitted at app review time. WhatsApp is big enough to make the cut, but they also support Universal Links via the wa.me domain and https://wa.me/apple-app-site-association).
More comments on Mastodon.