Search results for

“file uri scheme”

81,711 results found

Post

Replies

Boosts

Views

Activity

Watch Glance Scheme
I'm seeing some weird behaviour in XCode 6.3.1 - 6.4 where the scheme I have for the watch 'Glance' changes its watch interface.I start off with a scheme which has a 'Watch Interface' of Glance. When I run the scheme it switches to 'Main' and I the 'Glance' option disappears from the selection menu.Even if i manually edit the scheme in the XML I still do not get the 'Glance' watch interface.Any ideas?
0
0
231
Jul ’15
Reply to Safari Extension - can't download files with JS properly
Found a workaround by using an iframe, and run the download code inside the iframe. And for communication between the iframe and the extension I used window.postMessage. I added the iframe content and js file to the public folder of the extension. iframe.html iframe.js function downloadFile(filename, uri) { const element = document.createElement('a'); element.setAttribute('href', uri); element.setAttribute('download', filename); element.style.display = 'none'; document.body.appendChild(element); element.click(); document.body.removeChild(element); } window.addEventListener( 'message', function (event) { downloadFile(event.data.filename, event.data.uri); }, false, ); And the download triggering code from the extension. const iframe = document.createElement('iframe'); iframe.style.display = 'none'; iframe.src = 'iframe.html'; document.body.appendChild(iframe); setTimeout(() => { if (iframe.contentWindow) iframe.contentWindow.postMessage( { filename, uri }, window.
Topic: Safari & Web SubTopic: General Tags:
Aug ’22
Generic URL Scheme
How does iOS choose which app to launch when a generic URL Scheme is launched ? What I know from older document is Note: If more than one third-party app registers to handle the same URL scheme, there is currently no process for determining which app will be given that scheme. OR Is there any latest document that states this ?
2
0
1.3k
Mar ’22
Supported URL Schemes
Some Apple URL schemes are documented for third-party use. It’s fine to use those URL schemes for their intended purpose. Other Apple URL schemes are not officially documented. Their use is unsupported. If you rely on such implementation details, things might work, or they might not, and that state might change over time. IMPORTANT If you ship via the App Store, pay attention to clause 2.5.1 of the App Review Guidelines. The Apple URL scheme documentation is not always easy to find. I’m aware of the following: Apple URL Scheme Reference QA1924 Opening Keyboard Settings from a Keyboard Extension [This Q&A was retired years ago.] Preparing your app to be the default messaging app The doc comments for es_new_client in Developer > Bug Reporting describes the applefeedback scheme Additionally, as questions about this most commonly crop up in the context of opening Settings (System Settings on macOS), I wanted to highlight the following: UIApplication.op
0
0
2.3k
Aug ’24
how do i set the facebook redirect uri using their api not the sdk, in swift
I have an issue with exchanging code for the token when I try to log in with Facebook using their API not the SDK, I get the code just fine but when I make an API call with that code to get a token I get this error message Error validating verification code. Please make sure your redirect_uri is identical to the one you used in the OAuth dialog request, the redirect uri i use in xcode is (fb + the appId + ://authorize, and that's working for getting the code but how do I add that in the Valid OAuth Redirect URIs inside the Facebook app settings?
0
0
1.6k
May ’21
Xcode Schemes?
I'm developing an iOS app in Xcode 13.1. I set the scheme (I think that's what says iPad Air 2 in the screenshot) to use a given simulator, but it I exit Xcode and restart, it sometimes changes to another simulator. Is there a way to get Xcode to remember the setting? Thanks, Mark
0
0
479
Oct ’21
"404: Invalid URI -- no content" on merchant verification
Hi,in the node.js server I got validation url from client and then post request to this url:const { validationURL } = req.body; const cert = fs.readFileSync(certPath); const key = fs.readFileSync(keyPath); const options = { url: `${validationURL}/paymentSession`, method: 'POST', headers: { Content-Type: application/json, }, key, cert, body:{ merchantIdentifier: 'merchant.domain.name', // from developer panel displayName: 'ProjectName', initiative: 'web', initiativeContext: 'domain.name', // verified from developer panel }, json: true, }; let response = ''; request.post(options, function (error, response, body) { console.log('inner error:', error); console.log('inner statusCode:', response && response.statusCode); console.log('inner body:', body); }).on('error', function(err) { console.log(err) });And I keep gettinginner error: null inner statusCode: 404 inner body: Invalid URI -- no contentWhat may go wrong?It's about url or body payload?I form url according to https://developer.apple.com/doc
2
0
2.5k
Jun ’18
Reply to Using WebVTT captions from sidecar
I also would love to know how to do this. I've pieced information together from several sources - basically I've gotten as far as needing to generate segmented .vtt files based off the larger single sidecar .vtt file. You can use mediafilesegmenter to generate these, but it would be great if this could be done on a server somewhere on the fly as needed (so we didn't need to generate 50k m3u8 files for all of our video assets).It appears that all you need to add to the master m3u8 is this line:#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=subs,NAME=English,DEFAULT=YES,AUTOSELECT=YES,FORCED=NO,LANGUAGE=eng,URI=http://myserver.com/mycaptions.m3u8but it seems that it expects the URI to be another manifest file listing all the segmented .vtt files. Any direction or further documentation on this would be very helpful.
Topic: Media Technologies SubTopic: Streaming Tags:
Feb ’16
Watch Glance Scheme
I'm seeing some weird behaviour in XCode 6.3.1 - 6.4 where the scheme I have for the watch 'Glance' changes its watch interface.I start off with a scheme which has a 'Watch Interface' of Glance. When I run the scheme it switches to 'Main' and I the 'Glance' option disappears from the selection menu.Even if i manually edit the scheme in the XML I still do not get the 'Glance' watch interface.Any ideas?
Replies
0
Boosts
0
Views
231
Activity
Jul ’15
Reply to Invalid redirect_uri in Apple sign in
@balintfarago is 100% right, you have to specify https as well with redirect URIs, also when fixing existing service id to add https with redirect uri if it doesn't work, delete the service id and create a new one with correct https redirect uri and it will work fine after that.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’20
Partitioning Scheme
Intel Macs used GPT for partitioning storage devices. What partitioning scheme are Apple Silicon computers using? Or are they still going to use GPT/
Replies
2
Boosts
0
Views
850
Activity
Jul ’20
Reply to Dragging emails from apple mail to browser
Any update here? When I drag an email from apple mail and drop it in any web browser, event.dataTransfer.files is empty. All I can get is an URL list (event.dataTransfer.getData(text/uri-list) = message:), no .eml file
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to Sign In With Apple Web Settings
same issue here, cannot use any of the new Service IDs or new redirect URIs, only old Service IDs and Redirect URIs are working.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’21
Reply to Safari Extension - can't download files with JS properly
Found a workaround by using an iframe, and run the download code inside the iframe. And for communication between the iframe and the extension I used window.postMessage. I added the iframe content and js file to the public folder of the extension. iframe.html iframe.js function downloadFile(filename, uri) { const element = document.createElement('a'); element.setAttribute('href', uri); element.setAttribute('download', filename); element.style.display = 'none'; document.body.appendChild(element); element.click(); document.body.removeChild(element); } window.addEventListener( 'message', function (event) { downloadFile(event.data.filename, event.data.uri); }, false, ); And the download triggering code from the extension. const iframe = document.createElement('iframe'); iframe.style.display = 'none'; iframe.src = 'iframe.html'; document.body.appendChild(iframe); setTimeout(() => { if (iframe.contentWindow) iframe.contentWindow.postMessage( { filename, uri }, window.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’22
Generic URL Scheme
How does iOS choose which app to launch when a generic URL Scheme is launched ? What I know from older document is Note: If more than one third-party app registers to handle the same URL scheme, there is currently no process for determining which app will be given that scheme. OR Is there any latest document that states this ?
Replies
2
Boosts
0
Views
1.3k
Activity
Mar ’22
URL Schemes on tvOS?
Are there URL schemes for tvOS?
Replies
5
Boosts
0
Views
3.2k
Activity
Sep ’15
Supported URL Schemes
Some Apple URL schemes are documented for third-party use. It’s fine to use those URL schemes for their intended purpose. Other Apple URL schemes are not officially documented. Their use is unsupported. If you rely on such implementation details, things might work, or they might not, and that state might change over time. IMPORTANT If you ship via the App Store, pay attention to clause 2.5.1 of the App Review Guidelines. The Apple URL scheme documentation is not always easy to find. I’m aware of the following: Apple URL Scheme Reference QA1924 Opening Keyboard Settings from a Keyboard Extension [This Q&A was retired years ago.] Preparing your app to be the default messaging app The doc comments for es_new_client in Developer > Bug Reporting describes the applefeedback scheme Additionally, as questions about this most commonly crop up in the context of opening Settings (System Settings on macOS), I wanted to highlight the following: UIApplication.op
Replies
0
Boosts
0
Views
2.3k
Activity
Aug ’24
how do i set the facebook redirect uri using their api not the sdk, in swift
I have an issue with exchanging code for the token when I try to log in with Facebook using their API not the SDK, I get the code just fine but when I make an API call with that code to get a token I get this error message Error validating verification code. Please make sure your redirect_uri is identical to the one you used in the OAuth dialog request, the redirect uri i use in xcode is (fb + the appId + ://authorize, and that's working for getting the code but how do I add that in the Valid OAuth Redirect URIs inside the Facebook app settings?
Replies
0
Boosts
0
Views
1.6k
Activity
May ’21
Xcode Schemes?
I'm developing an iOS app in Xcode 13.1. I set the scheme (I think that's what says iPad Air 2 in the screenshot) to use a given simulator, but it I exit Xcode and restart, it sometimes changes to another simulator. Is there a way to get Xcode to remember the setting? Thanks, Mark
Replies
0
Boosts
0
Views
479
Activity
Oct ’21
Reply to In House Enterprise App Distribution On Web Server
We had considered generating the plist on the fly, generating a short lived public uri for the download. A short lived public uri, while secure, seems like it would violate Apples TOS (for a few minutes or so).However, injecting a one time use access token to the uri on the fly seems like it would satisfy terms.
Replies
Boosts
Views
Activity
Mar ’19
"404: Invalid URI -- no content" on merchant verification
Hi,in the node.js server I got validation url from client and then post request to this url:const { validationURL } = req.body; const cert = fs.readFileSync(certPath); const key = fs.readFileSync(keyPath); const options = { url: `${validationURL}/paymentSession`, method: 'POST', headers: { Content-Type: application/json, }, key, cert, body:{ merchantIdentifier: 'merchant.domain.name', // from developer panel displayName: 'ProjectName', initiative: 'web', initiativeContext: 'domain.name', // verified from developer panel }, json: true, }; let response = ''; request.post(options, function (error, response, body) { console.log('inner error:', error); console.log('inner statusCode:', response && response.statusCode); console.log('inner body:', body); }).on('error', function(err) { console.log(err) });And I keep gettinginner error: null inner statusCode: 404 inner body: Invalid URI -- no contentWhat may go wrong?It's about url or body payload?I form url according to https://developer.apple.com/doc
Replies
2
Boosts
0
Views
2.5k
Activity
Jun ’18
Reply to FPS - Client test SDK
Is it normal that we doesn’t receive any error when the avplay is parsing the m3u8 and especially the uri “malformed” field ?Do we need to manage a new uri type in our resource loader delegate (such skd type) ?
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Jul ’15
Reply to Using WebVTT captions from sidecar
I also would love to know how to do this. I've pieced information together from several sources - basically I've gotten as far as needing to generate segmented .vtt files based off the larger single sidecar .vtt file. You can use mediafilesegmenter to generate these, but it would be great if this could be done on a server somewhere on the fly as needed (so we didn't need to generate 50k m3u8 files for all of our video assets).It appears that all you need to add to the master m3u8 is this line:#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=subs,NAME=English,DEFAULT=YES,AUTOSELECT=YES,FORCED=NO,LANGUAGE=eng,URI=http://myserver.com/mycaptions.m3u8but it seems that it expects the URI to be another manifest file listing all the segmented .vtt files. Any direction or further documentation on this would be very helpful.
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Feb ’16