Search results for

file uri scheme

78,480 results found

Post

Replies

Boosts

Views

Activity

Certificate Authentication is Broken When We are using Universal link based Redirect URI
Before explaining the problem let me give the specifications. We are using SFSafariViewController and OAuth 2.0 mechanism for authentication. Also we are using Universal Link based Redirect URI. I have uploaded the AASA file in the particular domain as expected for Universal Link. Also checked that it is getting downloaded when I am installing the app in the device. And our device got MDM profile provided by our organisation. Now coming to the issue: When I am onboarding with my app, onboarding is successful, if I don't opt for certificate(picked up from the MDM) authentication. But, if I opt for certificate authentication after providing the certificate identity to the idp the callback is not happening. It stays in the SFSafariViewController. The expected behaviour is to resume the NSUserActivity of the app through appdelegate. Any idea how to resolve this?
0
0
450
Aug ’20
Certificate Authentication is Broken When We are using Universal link based Redirect URI
Before explaining the problem let me give the specifications. We are using ASWebAuthenticationSession and OAuth 2.0 mechanism for authentication. Also we are using Universal Link based Redirect URI. I have uploaded the AASA file in the particular domain as expected for Universal Link. Also checked that it is getting downloaded when I am installing the app in the device. And our device got MDM profile provided by our organisation. Now coming to the issue: When I am onboarding with my app, onboarding is successful, if I don't opt for certificate(picked up from the MDM) authentication. But, if I opt for certificate authentication after providing the certificate identity to the idp the callback is not happening. It stays in the Safari. The expected behaviour is to resume the NSUserActivity of the app through appdelegate. Any idea how to resolve this?
0
0
458
Aug ’20
openUrl with scheme in tvos
I read a post here on these forums where an Apple staff member posted that openUrl with schemes works in TvOS like they do in iOS and the documentation here states the url formats to access a YouTube video in iOS but it's not clear if those work with openURLI'm attempting to open a URL with openURL via an IBAction from a button and I wanted to open YouTube to render the content seeing as how there is no access currently to UIWebView so I can't (without breaking youtube's TOS) render the video directly. I've tested and been able to get access to the direct links with a youtube parser class but again that breaks their TOS so I'm not interested in publishing an app that way.Thanks for any info on the status of url schemes in TvOS
1
0
1.1k
Nov ’15
Reply to Test code class goes to rT (purple) - can't delete
This also happend to me.Prior to beginning the process I edited the scheme and checked the Test settings. There I saw both the purple and blue icons.To clear it I selected the related file in my Project Navigator. I deleted the file but selected Remove Reference rather than Move to Trash.Checking the scheme again, both the purple and blue icons were gone. Finally I readded the file to the test target.Checking the scheme, only the blue icon was there. When I re-ran the tests, no rT icon was present.Hope this helps.
Oct ’15
Reply to Notarization Failed for "The binary is not signed"
Hi @eskimo, Thank you for sharing me the debug process. And you are right, this file is indeed not signed. With this lead I found that this file is used to make an installer package before it is signed. This explains the issue here. So my next question is here we have two schemes, one for the app and the other one for the installer package. During the execution of the installer package, we were trying to copy the product of app scheme. We have a dependency within installer package scheme. And the app scheme is in the dependency. But it looks like it could not guarantee that app is signed before used. Do you know is there any way to make sure that the product of app scheme is signed before used/copied?
Topic: Code Signing SubTopic: Notarization Tags:
Jun ’22
Reply to ASWebAuthenticationSession callbackURLScheme
From the docs - https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession/2990952-init: callbackURLScheme The custom URL scheme that the app expects in the callback URL. Note custom URL scheme, which will allow ASWebAuthenticationSession to redirect back to your app and complete. If you need to redirect back to your app with an http(s) URL from an external user agent—that is, an authentication class like ASWebAuthenticationSession or a system browser—you'll need to do it on the OS level by using Universal Links - https://developer.apple.com/documentation/xcode/allowing_apps_and_websites_to_link_to_your_content. It's a big subject covered in the aforementioned doc and others referenced from there. In short, your redirection URI will point to a server where your apple-app-site-association file is hosted and a path specified for your app in this file. Then you'll need to handle the redirection in your app delegate's application(_:cont
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’20
iPhone URL Schemes 2018
Hi,Does anyone know where I can find URL Schemes?I've been following a guide on Stack Overflow but the Schemes no longer seem to workI wish to open the devices do not disturb settings.. I can open the main device setting with this SchemeApp-prefs:root=GeneralBut the following does not work:App-prefs:root=General&path=DO_NOT_DISTURBDoes anyone have any suggestions?
Topic: UI Frameworks SubTopic: UIKit Tags:
4
0
2.4k
Jun ’18
SFSafariViewController url scheme issue
As of iOS 10 the SFSafariViewController is no longer working the way it did in iOS 9 with url schemes and getting back to the application after the web page is done. In iOS 9 this worked.Launch url in SFSafariViewController from iOS appHave a button on the web page shown in safari that will set the window.location.href to the url scheme of the app that launched the SFSafariViewControllerapplicationDidBecomeActive was called for the url scheme (same app as in step #1) and SFSafariViewController could be closedIn iOS 10 the step #3 no longer happens.Questions related to iOS 10.What is the proper way to get back to the application that created the SFSafariViewController? Without using Done button.Can you close the SFSafariViewController from the web page? JS window.close() doesn't work.What is called in the app when calling the url scheme from SFSafariViewController? It is no longer applicationDidBecomeActive.
2
0
3.5k
Sep ’16
URL scheme for the Movies app
How would you link to a specific movie in the movies app from your app? Using UIApplication.sharedApplication().openURL and an iTunes link (such as http://geo.itunes.apple.com/us/movie/mad-max-fury-road/id990549112?mt=6) does not work and gives the error LaunchServices: ERROR: There is no registered handler for URL scheme http.Is there an URL scheme for the default Movies app on tvOS and if so, how do you use it to open a specific movie?
5
0
1.4k
Sep ’15
Reply to C++ ifstream: Can't open text file
The file you are trying to open, AMatrix.txt, is not in the current working directory so the file isn't found. There are multiple ways to fix this. First, you can supply the complete path to the file in your code. Second, you can set the working directory for the Xcode scheme and set it to the directory where the file you want to open resides. In the project window toolbar to the right of the Run and Stop buttons is a path control. The left item in the path control is the name of your project. Click the item and choose Edit Scheme to open the scheme editor. Select the Run step from the left side of the scheme editor. Click the Options button at the top of the scheme editor. Select the Use custom working directory checkbox. Click the folder icon to open an Open panel to choose the working directory.
May ’21