url-scheme
Valid characters for URI schemes?
According to RFC 2396, Appendix A: scheme = alpha *( alpha | digit | “+” | “-” | “.” ) Meaning: The scheme should start with a letter (upper or lower case), and can contains letters (still upper and lower case), number, “+”, “-” and “.”. Note: in the case of paparazzi:http:[//<host>[:[<port>][<transport>]]/ the scheme is … Read more
Why do we need “URL Identifier” (CFBundleURLName) plist field to use custom URL scheme on iOS?
According to apple docs The identifier you supply with your scheme distinguishes your app from others that declare support for the same scheme. Although using a reverse DNS string is a best practice, it does not prevent other apps from registering the same scheme and handling the associated links. Use universal links instead of custom … Read more
Android App: How to read get parameters from a custom url scheme?
Call getIntent().getData() to retrieve the Uri, then call getQueryParameter(“d”) on it to get the value of d.
In Xcode, under Info tab, what’s Role for in URL Types section?
It represents what your app can do with the URL / file type. Editor == read and write. Viewer == read only. None == can’t use at all. This flag isn’t used by iOS.
Share a link via URL scheme to Telegram
You can also use telegram.me share link which falls back to webogram if a telegram app is not installed on the device. https://telegram.me/share/url?url=<URL>&text=<TEXT>
Whats the difference between a scheme and a protocol in a URL?
My understanding is that the two terms have a significant overlap. The protocol being the agreed upon method of information transfer and the scheme being the identifier that URLs use to express what type of protocol the specific resource should be served over. In short, schemes are simply identifiers for protocols. For example In the … Read more
Call the official *Settings* app from my app on iPhone
As noted in the comments below, this is no longer possible in iOS version 5.1 and after. If you are on iOS 5.0, the following applies: This is now possible in iOS 5 using the ‘prefs:’ url scheme. It works from a web page or from an app. example urls: prefs:root=General prefs:root=General&path=Network sample usage: [[UIApplication … Read more
Cookie “PHPSESSID” will be soon treated as cross-site cookie against because the scheme does not match
that was exactly same happening with me. the issue was that, firefox keeps me showing even Cookies of different websites hosted on same URL : “localhost:Port number” stored inside browser memory. In my case, i have two projects configured to run at http://localhost:62601, when i run first project, it saves that cookie in browser memory. … Read more