Search results for

“file uri scheme”

81,720 results found

Post

Replies

Boosts

Views

Activity

Passing data through custom url schemes
Hi All,I want to use URL schemes for communication between two applications. Want to do this both in our Android and iOS application.To pass some extra data between two applications using URL schemes. Extras with Implicit intent can be used in Android.https://developer.android.com/guide/components/intents-filters.html#BuildingDoes the same can be achieved in IOS URL schemes. ? As far as i can understand data can be only sent through the url query parameters.https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.htmlBest Regards,Saurav
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
736
Aug ’17
Reply to AVContentKeySessionDelegate not called (offline)
In my implementation, I make sure that the key is specified in the master playlist (as recommended by Apple anyway). Then I read that playlist myself, just looking for EXT-X-SESSION-KEY tags. It looks something like this:#EXT-X-SESSION-KEY:METHOD=...,URI=...,KEYFORMAT=...,KEYFORMATVERSIONS=...The URI attribute contains skd://abc123, and abc123 is what you're looking for.
Topic: Media Technologies SubTopic: Streaming Tags:
Jul ’18
xfail in XCTest or scheme?
I am wondering if Xcode has a capability to describe that certain tests are expected to fail.I searched the web with keyword mixes like xcode, xfail, expect to fail, xctest, test scheme and so on. None got what I want and I came up here, the dev forum.I am writing some test utility for my classes. So, the goal is to fail when the test utility detects anything wrong.The test codes for the test utility are written purposely to fail. And I would like to take those failures as successes of the test.I may add up some more codes in the test utility to flip the assert expressions not to fail for xfail purpose. However, it may introduce unexpected bugs and I don't want to take the additional risk (and unnecessary risk if xfail is supported in xcode)I appreciate any feedbacks. Thanks!dpdo
1
0
377
Dec ’15
URL Scheme Incorrect Format
I've been publishing an app on the App Store using the Adobe DPS service for the past few years. I've now just moved onto a new app development software and have started experiencing errors upon uploading a new app to update the previous one on the App Store.After checking everything is correct on the new app development software (Twixl Publisher), I receive this error when uploading my build via Application Loader:ERROR ITMS-90158: The following URL schemes found in your app are not in the correct format: [.co.uk.websitename.websitename]. URL schemes need to begin with an alphabetic character, and be comprised of alphanumeric characters, the period, the hyphen or the plus sign only. Please see RFC1738 for more detail.My Bundle ID in iTunes Connect is: .co.uk.websitename.websitename and has always worked perfectly before. Now it's causing problems and I can't figure out how to fix it so I can update the app with the version.Could anyone advise on the next steps I should take to resolve this
0
0
4.3k
Aug ’16
URL scheme in Info.plist
I use the following entry in Info.plist to make the program handle the tidal url scheme, but it launches the program without the URL itself. The entry is: keyCFBundleURLTypes/key array dict keyCFBundleTypeRole/key stringViewer/string keyCFBundleURLName/key stringorg.strawberrymusicplayer.strawberry/string keyCFBundleURLSchemes/key array stringtidal/string /array /dict /array Full Info.plist here: https://github.com/strawberrymusicplayer/strawberry/blob/master/dist/macos/Info.plist.in The URL looks like this: tidal://login/auth With the url parameters that contains the authorization code, the total length is 692 characters. It works fine on Linux and Windows, but not on macOS. I've tested both with Safari and Firefox. Is the URL perhaps too long?
1
0
11k
Apr ’21
Force color scheme at the press of a button
This is once again about that Lunch Card app. There's a section in my app's settings that controls the appearance - color scheme, if you will - of the whole app. The three options are System Default Light Dark The picker is set up, and it works as normal, but what would I specify the action of these buttons to be to force a certain color scheme, whether that be dark, light, or auto. Here's the code for where the picker is: struct SettingsView: View { @State private var selectedAppearance = 1 var body: some View { // ... Picker(selection: $selectedAppearance, label: Text(Appearance)) { Button(action: { // Change app color scheme to be auto }) { Text(System Default) }.tag(1) Button(action: { // Change app color scheme to be light }) { Text(Light) }.tag(2) Button(action: { // Change app color scheme to be dark }) { Text(Dark) }.tag(3) } // ... }
9
0
7.0k
Jan ’21
Reply to AVAssetResourceLoaderDelegate and TS files error: Error Domain=CoreMediaErrorDomain Code=-12881 "custom url not redirect"
Thanks for your quick reply. I am creating manifest file by myself and also downloading all the .ts files in advance . When user clicks on a video for play then I will pass manifest file data to player using Assetdelegate and ts data if file has downloaded otherwise with valid url so that play can play that ts file from server not from cache . I am using custom schemes so that I am getting call-backs in asset delegates . I have already manifest files data & dummy m3u8 url with custom scheme. I want to pre-cache some portion of video .
Topic: Media Technologies SubTopic: Streaming Tags:
Jun ’20
Scheme Setting Not Persisting For Associated Target
I have an Xcode 15.4 project with 4 targets (i.e. 2 UI and 2 CLI). Next, I'm looking to set a unique scheme for each target but it keeps changing to one of the previously set schemes. For example, I have the following four targets and I would like to have the associated: Target 1 - > Scheme 1 Target 2 -> Scheme 2 Target 3 -> Scheme 3 Target 4 -> Scheme 4 When the target is selected, shouldn't the corresponding scheme be updated in the Xcode toolbar? Or is there a setting that I'm missing to enable/disable within Xcode that would resolve this issue? Finally, I'm seeing similar behavior in Xcode 16 beta 1.
1
0
503
Jun ’24
photos-navigation://album scheme
In my app SexyPeri (https://apps.apple.com/fr/app/id6738291985), I create an album with some pics Album is called SexyPeri Now, I wish to redirect the user from my app SexyPeri DIRECTLY to the album SexyPeri There is no doc about your scheme photos-navigation, or I didn't see it. Some guys retro-engineered it, but I couldn't make this work. photos-navigation://album?name=SexyPeri doesn't work. So my question is: how can I redirect to the album directly ?
1
0
421
Jan ’25
Passing data through custom url schemes
Hi All,I want to use URL schemes for communication between two applications. Want to do this both in our Android and iOS application.To pass some extra data between two applications using URL schemes. Extras with Implicit intent can be used in Android.https://developer.android.com/guide/components/intents-filters.html#BuildingDoes the same can be achieved in IOS URL schemes. ? As far as i can understand data can be only sent through the url query parameters.https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.htmlBest Regards,Saurav
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
736
Activity
Aug ’17
Reply to AVContentKeySessionDelegate not called (offline)
In my implementation, I make sure that the key is specified in the master playlist (as recommended by Apple anyway). Then I read that playlist myself, just looking for EXT-X-SESSION-KEY tags. It looks something like this:#EXT-X-SESSION-KEY:METHOD=...,URI=...,KEYFORMAT=...,KEYFORMATVERSIONS=...The URI attribute contains skd://abc123, and abc123 is what you're looking for.
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Jul ’18
Reply to extract asset id from playlist (fairplay)
I place mine in the key uri. For example, skd://token?assetid=23asdf
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Sep ’18
Reply to Can't retrieve name and email from Sign In flow
This. We only get state and code in the redirect uri, no email address.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’19
Whats is the openURL scheme for Notes.app in iOS
Can I open Notes.app using openURL scheme ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
464
Activity
Aug ’16
xfail in XCTest or scheme?
I am wondering if Xcode has a capability to describe that certain tests are expected to fail.I searched the web with keyword mixes like xcode, xfail, expect to fail, xctest, test scheme and so on. None got what I want and I came up here, the dev forum.I am writing some test utility for my classes. So, the goal is to fail when the test utility detects anything wrong.The test codes for the test utility are written purposely to fail. And I would like to take those failures as successes of the test.I may add up some more codes in the test utility to flip the assert expressions not to fail for xfail purpose. However, it may introduce unexpected bugs and I don't want to take the additional risk (and unnecessary risk if xfail is supported in xcode)I appreciate any feedbacks. Thanks!dpdo
Replies
1
Boosts
0
Views
377
Activity
Dec ’15
Custom URL schemes and deep linking
As universal links require iOS 9 and are not compatible with iOS 8, is it possible to cater for custom URL schemes and universal links in the same app so that if an app is installed on an iPhone running iOS 8 and on an iPhone running iOS 9 the URL scheme will forward the user to the app? If not are there any other solutions to this?
Replies
0
Boosts
0
Views
428
Activity
Jan ’16
URL Scheme Incorrect Format
I've been publishing an app on the App Store using the Adobe DPS service for the past few years. I've now just moved onto a new app development software and have started experiencing errors upon uploading a new app to update the previous one on the App Store.After checking everything is correct on the new app development software (Twixl Publisher), I receive this error when uploading my build via Application Loader:ERROR ITMS-90158: The following URL schemes found in your app are not in the correct format: [.co.uk.websitename.websitename]. URL schemes need to begin with an alphabetic character, and be comprised of alphanumeric characters, the period, the hyphen or the plus sign only. Please see RFC1738 for more detail.My Bundle ID in iTunes Connect is: .co.uk.websitename.websitename and has always worked perfectly before. Now it's causing problems and I can't figure out how to fix it so I can update the app with the version.Could anyone advise on the next steps I should take to resolve this
Replies
0
Boosts
0
Views
4.3k
Activity
Aug ’16
URL scheme in Info.plist
I use the following entry in Info.plist to make the program handle the tidal url scheme, but it launches the program without the URL itself. The entry is: keyCFBundleURLTypes/key array dict keyCFBundleTypeRole/key stringViewer/string keyCFBundleURLName/key stringorg.strawberrymusicplayer.strawberry/string keyCFBundleURLSchemes/key array stringtidal/string /array /dict /array Full Info.plist here: https://github.com/strawberrymusicplayer/strawberry/blob/master/dist/macos/Info.plist.in The URL looks like this: tidal://login/auth With the url parameters that contains the authorization code, the total length is 692 characters. It works fine on Linux and Windows, but not on macOS. I've tested both with Safari and Firefox. Is the URL perhaps too long?
Replies
1
Boosts
0
Views
11k
Activity
Apr ’21
Force color scheme at the press of a button
This is once again about that Lunch Card app. There's a section in my app's settings that controls the appearance - color scheme, if you will - of the whole app. The three options are System Default Light Dark The picker is set up, and it works as normal, but what would I specify the action of these buttons to be to force a certain color scheme, whether that be dark, light, or auto. Here's the code for where the picker is: struct SettingsView: View { @State private var selectedAppearance = 1 var body: some View { // ... Picker(selection: $selectedAppearance, label: Text(Appearance)) { Button(action: { // Change app color scheme to be auto }) { Text(System Default) }.tag(1) Button(action: { // Change app color scheme to be light }) { Text(Light) }.tag(2) Button(action: { // Change app color scheme to be dark }) { Text(Dark) }.tag(3) } // ... }
Replies
9
Boosts
0
Views
7.0k
Activity
Jan ’21
Reply to AVAssetResourceLoaderDelegate and TS files error: Error Domain=CoreMediaErrorDomain Code=-12881 "custom url not redirect"
Thanks for your quick reply. I am creating manifest file by myself and also downloading all the .ts files in advance . When user clicks on a video for play then I will pass manifest file data to player using Assetdelegate and ts data if file has downloaded otherwise with valid url so that play can play that ts file from server not from cache . I am using custom schemes so that I am getting call-backs in asset delegates . I have already manifest files data & dummy m3u8 url with custom scheme. I want to pre-cache some portion of video .
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Jun ’20
Scheme Setting Not Persisting For Associated Target
I have an Xcode 15.4 project with 4 targets (i.e. 2 UI and 2 CLI). Next, I'm looking to set a unique scheme for each target but it keeps changing to one of the previously set schemes. For example, I have the following four targets and I would like to have the associated: Target 1 - > Scheme 1 Target 2 -> Scheme 2 Target 3 -> Scheme 3 Target 4 -> Scheme 4 When the target is selected, shouldn't the corresponding scheme be updated in the Xcode toolbar? Or is there a setting that I'm missing to enable/disable within Xcode that would resolve this issue? Finally, I'm seeing similar behavior in Xcode 16 beta 1.
Replies
1
Boosts
0
Views
503
Activity
Jun ’24
Reply to ASWebAuthenticationSession's callbackURLScheme crash
Before adding the uri, try url encoding it : callBackURI.addingPercentEncoding(withAllowedCharacters: .urlHostAllowed) This worked for me.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’21
photos-navigation://album scheme
In my app SexyPeri (https://apps.apple.com/fr/app/id6738291985), I create an album with some pics Album is called SexyPeri Now, I wish to redirect the user from my app SexyPeri DIRECTLY to the album SexyPeri There is no doc about your scheme photos-navigation, or I didn't see it. Some guys retro-engineered it, but I couldn't make this work. photos-navigation://album?name=SexyPeri doesn't work. So my question is: how can I redirect to the album directly ?
Replies
1
Boosts
0
Views
421
Activity
Jan ’25
Xcode 26.4 does not restore the most recent scheme
When opening a project or workspace in Xcode 26.4 the most recently active scheme is not restored. Instead, the scheme reverts to the first scheme in the list. I've tried opening and closing Xcode a few times, and removing the user data for a workspace. No luck. Any suggestions or workarounds?
Replies
0
Boosts
0
Views
18
Activity
1d