url-scheme

How do I interrogate the current app's URL scheme programmatically?

感情迁移 提交于 2020-07-08 07:46:24
问题 My iOS app has 50+ targets, each with their own custom URL scheme. I need to detect if a request from a webview matches the scheme of the currently running app. In order to do this, I need to be able to interrogate the current app's URL scheme(s) from code. Similar questions deal with attempting to interrogate other apps to discover their URL schemes, which seems like it is not possible. I need to find the scheme out for my own app, from within my app. I would like to avoid having to set

Find the URL scheme of an app on my iPhone

妖精的绣舞 提交于 2020-02-02 10:59:50
问题 Apple maps can open routing apps when it can't provide a route: I want to open a few of those apps from my app. I am aware that I have to whitelist each app that I want to open. This is not the problem. How can I find out the url schemes of those Apps that are installed on my iPhone? One idea is to make a backup via iTunes and at the info.plist of the app. In this plist, the url schemes should be defined with the cfbundleurlschemes key. I think I found such an app in a backup, but I don't

Find the URL scheme of an app on my iPhone

↘锁芯ラ 提交于 2020-02-02 10:59:08
问题 Apple maps can open routing apps when it can't provide a route: I want to open a few of those apps from my app. I am aware that I have to whitelist each app that I want to open. This is not the problem. How can I find out the url schemes of those Apps that are installed on my iPhone? One idea is to make a backup via iTunes and at the info.plist of the app. In this plist, the url schemes should be defined with the cfbundleurlschemes key. I think I found such an app in a backup, but I don't

Deprecated: org.apache.http.conn.scheme.scheme is deprecated

空扰寡人 提交于 2020-01-25 06:17:19
问题 I have this Codesnippet: schemeRegistry.register(new Scheme("https", factory, 443)); It says that the constructor for Scheme is deprecated, but I honestly didn't really understand which new method to use instead. Can someone show me a brief example on how to use it properly? the complete Code in which it is used looks like this: org.apache.http.conn.ssl.SSLSocketFactory factory = new org.apache.http.conn.ssl.SSLSocketFactory(clientStore, p12Password, trustStore); SchemeRegistry schemeRegistry

wscript.exe stopped working with a custom protocol

半腔热情 提交于 2020-01-24 22:04:51
问题 All the computers in our company are configured with a custom protocol that runs a vbs script, so when you click on a link with that user protocol, the vbs script starts and performs operations that interact with the file system and applications otherwise inaccessible to the browser. This is the .reg file used to register the protocol: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\<name>] "URL Protocol"="" @="Url:<Description>" "UseOriginalUrlEncoding"=dword:00000001 [HKEY_CLASSES

Open app from SMS with my url scheme as a link

徘徊边缘 提交于 2020-01-19 07:56:28
问题 I declared an url scheme in my app, smstest so in Safari I can write in the search bar smstest:my-test or 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 smstest://my-test as a link and the user could tap it and my app being called. But the text is not formatted as a link. Is it possible or the only solution to open an app from a SMS is to point to an Internet page with a script? Thank you. EDIT: funny

Open app from SMS with my url scheme as a link

徘徊边缘 提交于 2020-01-19 07:56:20
问题 I declared an url scheme in my app, smstest so in Safari I can write in the search bar smstest:my-test or 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 smstest://my-test as a link and the user could tap it and my app being called. But the text is not formatted as a link. Is it possible or the only solution to open an app from a SMS is to point to an Internet page with a script? Thank you. EDIT: funny

IOS url Scheme launch custom UIView inside my application

淺唱寂寞╮ 提交于 2020-01-16 11:39:53
问题 I have a custom UIView in my application that I would like to make available to other applications to call using a url scheme. How would I accomplish this? I’m able to call the application with a url scheme and it launches the application with the custom UIView, but it does not leave the calling application in place. I would like to just create the custom UIView and have it display over a certain part of the screen in the calling application. Can this be done? I would also like to call this