url-scheme

Multiple apps with the same URL Scheme - iOS

独自空忆成欢 提交于 2019-11-27 10:44:29
问题 So for my new app I'm having a URL scheme so that people can launch my app from another app or from a website... "myapp://" ... So what happens if there is another app in the AppStore that has the same URL scheme as mine? Or if someone tries to steal my URL Scheme? 回答1: If two apps register the same custom URL scheme, it is undefined which app will actually be launched. One will be launched but there is no way to know. Here's a real kicker. If you have two apps on your device with the same

Google Maps URL scheme not working on iOS 9

风格不统一 提交于 2019-11-27 09:25:23
The following URL scheme was working on previous version but doesn't work anymore on iOS 9: comgooglemaps://?q=Google+Japan,+Minato,+Tokyo,+Japan&center=35.660888,139.73073&zoom=15&views=transit Did something change on iOS 9 that prevent apps from opening other apps using URL schemes? Janu Gandhi In iOS 9, Apple has made a change to the handling of URL schemes. Now you need to add "LSApplicationQueriesSchemes" key in plist and then add URLScheme you want to call. <key>LSApplicationQueriesSchemes</key> <array> <string>comgooglemaps</string> </array> In iOS 9.0, further restrictions were placed

Launching Viber app via URL scheme on iOS

寵の児 提交于 2019-11-27 09:18:05
I'm making an iOS app which can open Viber app and automatically call a person or go to chat window with the person. Is there any url scheme for Viber to do that such as: viber://tel:<phone_number> viber://chat:<phone_number> I followed this link but it's for Android. I sent a mail to the Viber support and they told me that this kind of URL (opening Viber call/chat with a phone number) are no more supported. When typing Viber version is 5.6. Look at their answer: support@viber.com : "Thank you for contacting us. Unfortunately, there isn’t such option in Viber." The only thing I've found is an

Facebook SDK: app not registered as a URL Scheme

笑着哭i 提交于 2019-11-27 06:31:40
I am using the Facebook SDK found here , and am trying the sample that is provided (in the folder FacebookiOSSample ). If I simply replace the AppId here with my specific AppId , then I can no longer Share. (I replaced it in both the AppDelegate file and the info.plist file). I now receive the following error: FBSDKLog: Invalid use of FBAppCall, fb**** is not registered as a URL Scheme. Did you set 'FacebookUrlSchemeSuffix' in your plist? Otherwise this works fine with the sample's original AppId which points to something named IFaceTouch . What could be wrong with the setup of my app, how do

How to fall back to marketplace when Android custom URL scheme not handled?

一世执手 提交于 2019-11-27 04:59:48
问题 We have an app that handles a custom URL scheme (vstream://). When someone comes to a web page that has some vstream:// content, we need to redirect them to the store if they don't have our app installed. In iOS, we do this: setTimeout(function() { window.location = "itms://itunes.apple.com/us/app/kaon-v-stream/id378890806?mt=8&uo=4"; }, 25); window.location = "vstream:view?code=...stuff..."; If the window.location assignment fails, the timeout jumps over the App Store before the dialog box

The “prefs” URL Scheme is not working in iOS 10 (Beta 1 & 2)

眉间皱痕 提交于 2019-11-27 04:32:57
I can't get the "prefs" URL Scheme to work in iOS 10 (Beta 1). It's set up correctly since the same App works fine on iOS 9. Is this a bug or did it get renamed / removed? Code: let settingsUrl = NSURL(string: "prefs:root=SOMETHING") if let url = settingsUrl { UIApplication.sharedApplication().openURL(url) } Update: (Beta 2) Still not working in Beta 2. It seams to be an bug. For example if you want do invite someone using GameCenter in iOS 10 and you're not logged into iMessage, you'll get a popup asking you to log in. But the "Settings" button does absolutely nothing. Just replace prefs to

Possible to handle your own http URL schemes in iOS?

偶尔善良 提交于 2019-11-27 02:57:33
iTunes, App Store and YouTube on iOS clearly register http://... URL schemes to open their apps. Can anyone do that, not just your own protocol? The reason I want to do this is that I am working on an app for a festival. I want to "intercept" links to specific pages on the website and launch the app instead, if installed. So far I have no had much luck mckamey The way you can do this for "http://" URLs (and what I think Apple and Spotify do) this is to: Register a custom URL scheme like the other answers have shown . Set up your HTTP URL to point to a real webpage. Put a script on that page to

“This app is not allowed to query for scheme cydia” IOS9 error

戏子无情 提交于 2019-11-27 02:07:36
问题 I have an app where I hit a HTTP Request <NSURLConnection: 0x12d755110> { request: <NSMutableURLRequest: 0x12d754e10> { URL: http://XX.XX.XX.XXX/webService/dataService.svc/SearchLocation } } Now, whenever the above request is made I get the following error and no data is received in the response. After 60 Sec I get " Time Out error ". It is working fine on IOS8 and below but not working gin IOS9. Could anybody let me know what else have I got to do with this issue. Also, I have done the

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

泪湿孤枕 提交于 2019-11-27 00:18:03
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 construct my request. But I doubt that calling such an official app is forbidden. Can anyone can help me? 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:

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

匆匆过客 提交于 2019-11-27 00:14:26
问题 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 the get parameters from within MyUriActivity ? Example: myapp://path/to/what/i/want?d=This%20is%20a%20test In MyUriActivity I need to read the value of get parameter d . How do I do that? 回答1: Call getIntent().getData() to retrieve the Uri, then