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
19
votes
1 answer

When an OS X app is launched by a registered URL scheme, how do you access the full URL?

I'm working on an Cocoa app which is launched/activated using URLs with a custom scheme which is registered in the Info.plist file like so: CFBundleURLTypes CFBundleURLName Open…
phatblat
  • 3,804
  • 3
  • 33
  • 31
19
votes
5 answers

How to open URL schemes from Safari in iOS9?

I was able to open apps from safari this way: window.location = 'myapp://do/xx'; or open facebook app: window.location = 'fb://'; But this stopped working in iOS9. How can I open apps using URL schemes in safari?
kevin
  • 4,177
  • 10
  • 32
  • 33
19
votes
2 answers

Can I launch one app from other app on iPhone

I want to create app which have to launch another app and run some features in last. I mean my app A call app B and run in B some method. Can I do this? I know that I want to use URL scheme, but can I run some method in another app? Thanks!
Matrosov Oleksandr
  • 25,505
  • 44
  • 151
  • 277
18
votes
3 answers

What is the scheme-specific part in a URI?

I can't find any explanation as to what exactly the "scheme-specific part" of a URI is.
Monstieur
  • 7,992
  • 10
  • 51
  • 77
18
votes
6 answers

Is there a way to tell if an end user will be able to handle links?

So if you want to link to a phone number you would do something like Click to Call This is used commonly on mobile websites and is gaining traction on desktop sites as well (largely thanks to Skype I think.) However…
Andrew G. Johnson
  • 26,603
  • 30
  • 91
  • 135
16
votes
4 answers

Is it considered a private API to use App-prefs:root?

In my app I'm using [NSURL URLWithString:@"App-Prefs:root=Privacy&path=LOCATION"] to open settings screen. Will it be rejected by apple as according to some sources this is considered a private API?
Ross Stepaniak
  • 877
  • 1
  • 6
  • 22
16
votes
2 answers

Google Maps URL scheme not working on iOS 9

The following URL scheme was working on previous version but doesn't work anymore on iOS 9: comgooglemaps://?q=Google+Japan,+Minato,+Tokyo,+Japan¢er=35.660888,139.73073&zoom=15&views=transit Did something change on iOS 9 that prevent apps from…
NoK
  • 171
  • 1
  • 1
  • 3
16
votes
5 answers

how can cordova open app from http or https url?

I found many answers for a custom URL-Scheme like this (mycoolapp://somepath). This plugin for example adds a custom URL-Sheme.* But I don't want a custom URL-Scheme, I want a "normal" URL like this (http://www.mycoolapp.com/somepath). If you open…
Nano
  • 1,398
  • 6
  • 20
  • 32
15
votes
1 answer

OS X System Preferences URL Scheme

I’m trying to open the Notifications preference pane (in OS X SystemPreferences.app) via a link. The prefix x-apple.systempreferences:// works so far for opening the system preferences app, but I’d like to open the notifications pane directly and…
max
  • 1,509
  • 1
  • 19
  • 24
15
votes
2 answers

Open app from SMS with my url scheme as a link

I declared an url scheme in my app, smstest so in Safari I can write in the search bar smstest:my-testor smstest://my-test and my app is open. I'm trying to achieve the same from a SMS text so the Messages app would format smstest:my-test or…
emenegro
  • 6,901
  • 10
  • 45
  • 68
14
votes
5 answers

Deep link URL Scheme doesn't call any function in iOS App Delegate

im implementing deep link is iOS. I have configured the URL Scheme in Project-Setting->Info->Url type URL Schemes : carwash role:Viewer when I type carwash://something the browser asks for opening the application but nothing get called in…
Arvin Rezaei
  • 818
  • 10
  • 25
14
votes
2 answers

Deep linking redirect to app only works on 2nd attempt on iOS 9 and up only

I have a strange redirect to app issue with our login system in iOS 9 only. Now, I already have abitrary payload allowed and my url schemes are setup properly in my plist file. What happens is this: A user is brought to an SFSafariViewController to…
Bjergsen
  • 207
  • 1
  • 17
14
votes
5 answers

iOS9: canOpenURL returning false for WhatApp's url scheme

In my current project I need to share text on whatsapp from iOS app. Here is my code to share text on whatsapp: NSURL *whatsappURL = [NSURL URLWithString:@"whatsapp://send?text=Hello%2C%20World!"]; if ([[UIApplication sharedApplication] canOpenURL:…
Mayank Jain
  • 5,663
  • 7
  • 32
  • 65
14
votes
10 answers

Open eMail from App with predefined text in iOS

Hello i want to open the eMail program from my App and the body should already be defined. I can open the eMail but don't know how to define the body of the eMail as a given Parameter to show a given standard text. Anyone can help? Heres the code i…
JanScott
  • 265
  • 1
  • 5
  • 14
13
votes
1 answer

May URL scheme contain an underscore?

According to the spec for URL, can the scheme have an underscore? E.g., is web_view://example.com a valid URL?
ma11hew28
  • 121,420
  • 116
  • 450
  • 651