0

Are URI scheme requirements/standards unique to each platform?

I'm wondering if the standard/requirement ends after the colon/double forward slash "://" of the URI?

I will use the Facebook mobile app as an example. It is a multiplatform mobile app. If you wanted to create a QR Code that links people to your page, you have to have two different QR Codes to work for iOS and Android platforms.

The iOS platform URI scheme is "fb://profile/" to open a page in the Facebook iOS app. However, the Android URI scheme is "fb://page/" to open the same page using the Facebook Android app.

Do platforms dictate the URI scheme past the colon/double slash? Is it a requirement/standard?

SouthernYankee65
  • 1,129
  • 10
  • 22
  • 1
    Have you seen: [Generating QR Code to open Facebook page](https://stackoverflow.com/a/66293958/295004) – Morrison Chang Sep 21 '21 at 20:25
  • @MorrisonChang no, I did not. I scoured S.O. and that post never came up in my search results. I'm thinking I may have to clear my browser cache and cookies. I appreciate the link! I'm gonna try it out to see if I can get it to work. – SouthernYankee65 Sep 22 '21 at 19:08

1 Answers1

1

The apps define what comes after the scheme. Every app will define it however they think is convenient. In the Facebook case, what happened is the team that did it in iOS didn't talk to the team that did it in Android, and because of that it isn't consistent.

Gabe Sechan
  • 90,003
  • 9
  • 87
  • 127
  • Maddening! Absolutely maddening! I sent a complaint to FB about this very thing because, as a developer, I suspected that anything after the scheme would be up to the app. Thanks for the background info! – SouthernYankee65 Sep 22 '21 at 19:05