Questions tagged [url-scheme]

A URI scheme is the top level of the Uniform Resource Identifier(URI) naming structure in computer networking.

Per Wikipedia:

A URI scheme is the top level of the Uniform Resource Identifier(URI) naming structure in computer networking.

1132 questions
54
votes
4 answers

Universal links on iOS vs. deep links (URL schemes)

As I'm reading, iOS 9 introduced Universal Links. In the "Support Universal Links" section in Apple's App Search Programming Guide, it says that this is not exactly like deep linking with URL schemes, but I'm not totally clear about this…
AppsDev
  • 12,319
  • 23
  • 93
  • 186
52
votes
4 answers

Cookie “PHPSESSID” will be soon treated as cross-site cookie against because the scheme does not match

I've just noticed my console is littered with this warning, appearing for every single linked resource. This includes all referenced CSS files, javascript files, SVG images, and even URLs from ajax calls (which respond in JSON). But not images. The…
Digital Ninja
  • 3,415
  • 5
  • 26
  • 51
52
votes
5 answers

Whats the difference between a scheme and a protocol in a URL?

I'm hoping someone can clarify to me the technical difference between a protocol and a scheme in a url. (or identify the rest of the items that can also be placed in a scheme?) Originally I had thought they were the same and that scheme was just…
Jonathan002
  • 9,639
  • 8
  • 37
  • 58
46
votes
9 answers

Call the official *Settings* app from my app on iPhone

At one point in my app, I would like to redirect the user to the official Settings app. If possible, I also want go straight to the Network section within the Settings app. I think what I need is the Settings app's url scheme and the format to…
Di Wu
  • 6,436
  • 3
  • 35
  • 51
44
votes
13 answers

Share a link via URL scheme to Telegram

I want to share a link via URL scheme for Telegram. I have created this: tg://msg?text = www.example.com?t=12 The link, opens telegram but nothing else happens. I have used the same code for Viber, and it works: viber://forward?text =…
farhad1985
  • 551
  • 1
  • 4
  • 8
42
votes
1 answer

In Xcode, under Info tab, what's Role for in URL Types section?

In Xcode, under Info tab, what's Role dropdown in URL Types section for? The valid value for this is Editor, Viewer, None.
Boon
  • 40,656
  • 60
  • 209
  • 315
35
votes
3 answers

Why do we need "URL Identifier" (CFBundleURLName) plist field to use custom URL scheme on iOS?

I am using a custom URL scheme to open my iOS app when this web link is tapped on the device: Demo77://someurl To set it up, I added Demo77 as an item to the URL Schemes (CFBundleURLSchemes) array in the Info.plist. Apple documentation says I also…
Evgenii
  • 36,389
  • 27
  • 134
  • 170
35
votes
1 answer

Android App: How to read get parameters from a custom url scheme?

Basically, I have the same question described as in How to implement my very own URI scheme on Android The answer given there works for me. When the custom url is called MyUriActivity's methods onCreate and onStart are called. BUT How can I access…
Timo Ernst
  • 15,243
  • 23
  • 104
  • 165
34
votes
3 answers

Valid characters for URI schemes?

I was thinking about Registering an Application to a URL Protocol and I'd like to know, what characters are allowed in a scheme? Some examples: h323 (has numbers) h323:[@][:][;] z39.50r (has a . as…
34
votes
1 answer

URL identifier and URL scheme

In iOS you can set up URL scheme so other apps can launch you or pass data to you. What's the URL Identifier for? It doesn't seem to be used anywhere other than when you specify URL Schemes. Also, what happen when there is duplicate URL schemes on…
Boon
  • 40,656
  • 60
  • 209
  • 315
33
votes
1 answer

What is Mobile Safari's custom URL Scheme?

iOS URL Schemes allow web sites to launch apps like so: twitter://timeline launches Twitter googlechrome://google.com launches Chrome fb://root launches Facebook ______________ launches Safari? (not http://, since Safari won't launch from…
Ryan
  • 14,682
  • 32
  • 106
  • 179
29
votes
1 answer

Firefox for Android does not launch app when link is clicked

Firefox does not fire intents for clicked links the way it should. Therefore one cannot launch their app by clicking a link in Firefox (which is possible in Chrome and other browsers). Edit: Please keep in mind that this is a post from 2013. The…
Stan
  • 2,151
  • 1
  • 25
  • 33
27
votes
9 answers

Launch App using URL, but OpenUrl Not Called

I have implemented a URL Scheme and use it to pass data to my app by calling method. The entire code is shown as below - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url{ // Check the calling application Bundle ID if…
progammingBeignner
  • 936
  • 1
  • 8
  • 19
27
votes
6 answers

iOS Safari does not recognize url schemes after user cancels

I'm noticing strange behavior in Safari recently. I register a url scheme for the my app, and enter myapp:// into Safari. This launches my app immediately. Then I go back to Safari, and enter myapp:// into Safari again, this time it prompts me "Open…
tzl
  • 1,540
  • 2
  • 20
  • 31
27
votes
5 answers

How to handle with a default URL scheme

I want to build URI (or URL scheme) support in my app. I do a LSSetDefaultHandlerForURLScheme() in my + (void)initialize and I setted the specific URL schemes also in my info.plist. So I have URL schemes without Apple Script or Apple Events. When…
papr
  • 4,717
  • 5
  • 30
  • 38
1
2
3
75 76