safari

How to maintain login status in a PWA initially loaded via Safari 14/iOS 14?

早过忘川 提交于 2020-07-07 15:12:04
问题 Our requirement is to have our users login to an app via a URL and, having added the app to their homescreen as a PWA, maintain that logged-in status, so that a second login to the installed PWA is not required . This is certainly possible under Android/Chrome where the logged-in status can be initially stored and accessed by the PWA via a variety of mechanisms (including cookie, IndexedDB, cache). However, it now appears to us that a PWA under iOS 14/iPadOS 14 is tightly sandboxed and Safari

How to maintain login status in a PWA initially loaded via Safari 14/iOS 14?

时光总嘲笑我的痴心妄想 提交于 2020-07-07 15:11:47
问题 Our requirement is to have our users login to an app via a URL and, having added the app to their homescreen as a PWA, maintain that logged-in status, so that a second login to the installed PWA is not required . This is certainly possible under Android/Chrome where the logged-in status can be initially stored and accessed by the PWA via a variety of mechanisms (including cookie, IndexedDB, cache). However, it now appears to us that a PWA under iOS 14/iPadOS 14 is tightly sandboxed and Safari

How to maintain login status in a PWA initially loaded via Safari 14/iOS 14?

橙三吉。 提交于 2020-07-07 15:11:42
问题 Our requirement is to have our users login to an app via a URL and, having added the app to their homescreen as a PWA, maintain that logged-in status, so that a second login to the installed PWA is not required . This is certainly possible under Android/Chrome where the logged-in status can be initially stored and accessed by the PWA via a variety of mechanisms (including cookie, IndexedDB, cache). However, it now appears to us that a PWA under iOS 14/iPadOS 14 is tightly sandboxed and Safari

Video recording for Safari Browser

自古美人都是妖i 提交于 2020-07-07 10:21:53
问题 In my sample ReactJs application I am using react-multimedia-capture - which uses navigator.mediaDevices.getUserMedia and the MediaRecorder API to record video. I am able to record video from Chrome, but in Safari I am unable to capture the video. The error is something like MediaRecorder is not defined. Could someone please help me out like: Does Safari supports basic video capturing? 回答1: Safari is currently not supporting MediaRecorder API by default, but you can enable them from Develop >

Video recording for Safari Browser

倖福魔咒の 提交于 2020-07-07 10:20:33
问题 In my sample ReactJs application I am using react-multimedia-capture - which uses navigator.mediaDevices.getUserMedia and the MediaRecorder API to record video. I am able to record video from Chrome, but in Safari I am unable to capture the video. The error is something like MediaRecorder is not defined. Could someone please help me out like: Does Safari supports basic video capturing? 回答1: Safari is currently not supporting MediaRecorder API by default, but you can enable them from Develop >

Is there a workaround for Safari iOS “Prevent Cross Site Tracking” option, when issuing cookies from API on different domain?

ぃ、小莉子 提交于 2020-07-06 10:26:08
问题 Is there any workarounds that allows me to keep the "Prevent Cross Site Trackng" option enabled (as it is by default, so every user will have it on), and issue CORS cookies from my back-end api that is on a different domain than my angular app? My application flow is as follow: 1. User Logs in 2. The server authenticates, issues a JWT and stores the JWT inside of an HttpOnly cookie 3. All angular requests have the {withCredentials: true} This works perfectly fine on....windows desktop

Is there a workaround for Safari iOS “Prevent Cross Site Tracking” option, when issuing cookies from API on different domain?

别等时光非礼了梦想. 提交于 2020-07-06 10:26:00
问题 Is there any workarounds that allows me to keep the "Prevent Cross Site Trackng" option enabled (as it is by default, so every user will have it on), and issue CORS cookies from my back-end api that is on a different domain than my angular app? My application flow is as follow: 1. User Logs in 2. The server authenticates, issues a JWT and stores the JWT inside of an HttpOnly cookie 3. All angular requests have the {withCredentials: true} This works perfectly fine on....windows desktop

“Script Error.” errors in window.onerror in Safari only

放肆的年华 提交于 2020-07-05 10:54:48
问题 I'm getting "Script Error." when catching errors in window.onerror, even with properly (I think) configured CORS headers on S3. CORS config: <?xml version="1.0" encoding="UTF-8"?> <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <CORSRule> <AllowedOrigin>*</AllowedOrigin> <AllowedMethod>GET</AllowedMethod> <AllowedMethod>POST</AllowedMethod> <AllowedMethod>PUT</AllowedMethod> <AllowedMethod>HEAD</AllowedMethod> <MaxAgeSeconds>3000</MaxAgeSeconds> <AllowedHeader>*<

“Script Error.” errors in window.onerror in Safari only

回眸只為那壹抹淺笑 提交于 2020-07-05 10:53:25
问题 I'm getting "Script Error." when catching errors in window.onerror, even with properly (I think) configured CORS headers on S3. CORS config: <?xml version="1.0" encoding="UTF-8"?> <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <CORSRule> <AllowedOrigin>*</AllowedOrigin> <AllowedMethod>GET</AllowedMethod> <AllowedMethod>POST</AllowedMethod> <AllowedMethod>PUT</AllowedMethod> <AllowedMethod>HEAD</AllowedMethod> <MaxAgeSeconds>3000</MaxAgeSeconds> <AllowedHeader>*<

OSX cocoa app - Get safari tab info

只谈情不闲聊 提交于 2020-07-05 10:18:07
问题 I'm wondering if it's possible to get any tab/window info from safari programmatically? Is there a library to do it? I'd prefer not applescript, as I've found that - I'd like to know if, and how it's possible in the Cocoa framework. 回答1: You can do this with Scripting Bridge, which is like AppleScript translated into Objective-C, or with accessibility objects, which you can inspect with Developer Tool Accessibility Inspector. Both technogies have their quirks and aren't documented very well.