Safari and Web

RSS for tag

Enable web views and services in your apps.

Posts under Safari and Web tag

158 Posts
Sort by:
Post marked as solved
4 Replies
1.4k Views
Whats the issue with Safari, WebGL and JavaScript performance, compared to other browsers Safari its a fullblown disaster. I think a saw a commercial stating Safari is the fastest browser ever ;-) hey, I can tell and show you, its not ;-). Can someone please explain what the excuse is for this when you have unlimited of money and 10000 programmers;-)?
Posted
by
Post not yet marked as solved
7 Replies
1.1k Views
I'm trying to put a view (html page) from a web extension into an iframe on a website. The html file is listed correctly in web\_accessible\_resources, however when I'm trying to load it, I get the following error: Failed to load resource: The operation couldn’t be completed. (Cocoa error -1008.)
Posted
by
Post not yet marked as solved
10 Replies
1.1k Views
Hi, I am trying to configure either Manual or Automatic proxy in Network extension using NEProxySettings in NEPacketTunnelNetworkSettings. Below are my observations made when proxy is configured, Manual proxy When Proxy server is reachable: resources are accessible When Proxy server is not reachable: resources are inaccessible (expected behaviour). Automatic proxy either using javascript(proxyAutoConfigurationJavaScript) or URL(proxyAutoConfigurationURL) When Proxy server is reachable: resources are accessible When Proxy server is not reachable: proxy is bypassed and resources are accessible To check this behaviour, I tried configuring proxy in Wi-Fi Settings and when proxy server is down below are the observations made, Manual proxy: resources are inaccessible Automatic proxy: When PAC URL is reachable: resources are inaccessible When PAC URL is not reachable: resources are accessible Which is having different behaviour compared to Network extension’s proxy settings. How is Automatic proxy designed to work in NEProxySettings when proxy server is down? How can I get the same behaviour as Manual proxy(not bypassing proxy) in Automatic proxy when proxy server is down? I am using Safari browser for accessing resources.
Posted
by
Post not yet marked as solved
2 Replies
1.2k Views
how to hide the browser address bar and navigation bar in iphone? at least in safari and chrome. i tried to use :(timeout with scrollTo(0,1)) but it didn't work. and also the fullscreen api doesn't work on ios.
Posted
by
Post not yet marked as solved
5 Replies
3.3k Views
Hi there. I'm using Unity to develop a WebGL application that has been working for years on Macs. With the new M1 Macs, though, I notice an issue where some of our 3d models flicker specifically on M1 Macs only. Updated Unity versions don't seem to fix anything, and editing the shaders doesn't seem to cause any change either. In the Unity Editor on this computer, everything renders just fine; it's only in an actual build that it's a problem. Has anyone seen an issue like this, either with Unity or with other WebGL? Does anyone have ideas on things I could try? Could this be a browser issue?
Posted
by
Post marked as solved
5 Replies
7.4k Views
When trying to Submit an update for review, I get the following message: Unable to Submit for Review The items below are required to start the review process: You must provide copyright information for the app you are adding. However, there is not any box where I can fill in copyright info for my app. What to do now?
Posted
by
Post not yet marked as solved
2 Replies
1.1k Views
I currently have an issue with the "High Efficiency" (HEIC) images that are taken on my iPhone X. It seems that when I upload my HEIC image via the browser, the HEIC image is converted to a JPG and the EXIF data is lost. I tested this on mobile Chrome, Safari, and FF by sending an image to myself using Gmail. However, when sending that same HEIC image through the Gmail mobile app, the EXIF data was retained and was still converted to a JPG. I wasn't able to find much information on this except for speculation and was wondering if someone could clarify this behavior and possibly the "why". I'm only aware of two different workarounds: Using the mobile application of the platform I'm interested in. Changing the camera image format to "Most Compatible"
Posted
by
Post not yet marked as solved
1 Replies
1.7k Views
It seems to be a question that comes up often in different ways, but despite several hours of research I still haven't found a solution. I currently face an issue in Safari 14 on MacOS BigSur where cookies are never sent by Safari on XmlHttpRequests to an api on the same root domain. Indeed, i'm working on an Angular SPA where the client app is locally hosted at https://myapp.local and for tests purpose I have an api running locally on https://api.myapp.local. For some requests, we need to attach 2 cookies that are originally set by the API. I am able to see the said cookies in the API responses and in the "storage" section of Safari's DevTools, however they are never sent back to the server for subsequent XHR requests. (XHR with credentials) I did try different cookie's attributes but none of my tries were successful : sameSite=None, domain=myapp.local, Secure, httpOnly sameSite=Lax, domain=myapp.local, Secure, httpOnly The only way I found to get around the problem was to disable the "prevent cross-site tracking" option in Safari's privacy settings (which is not a proper solution for our users since this option is enabled by default...) Nevertheless, I don't understand why Safari consider those cookies as 3rd party cookies (and blocks them) since the API is hosted on the same domain (on a subdomain to be more accurate) than the client web app. And, if I understood correctly, cookies should be sent by browsers for subdomains requests, both with sameSite=Lax and sameSite=None. Especially since it works perfectly on Firefox and Chromium browsers. Anyway, if anyone has an idea or a solution I would be very interested to hear it because I don't know what to try anymore! Thanks a lot !
Posted
by
Post not yet marked as solved
1 Replies
475 Views
I currently have an architecture where I need to forward messages from the Safari Web Extension to another app through the App Extension. I understand from the docs on Apple, App Extensions are not meant to be used as a long running background task, but if it is just proxying messages, is it advisable to keep pinging the app extension to keep it alive and use it as a long running task in the background for proxying messages ?
Posted
by
Post not yet marked as solved
3 Replies
1k Views
Hi For some time I'm facing an issue with Safari browser. For every page in my domain Safari sends wrong user agent. It introduces itself as a version 12 even though in reality it is version 14 from BigSur. In the result every external service which relies on a browser version is broken (such as analytics or ad campaigns). Clicking in development tab a "Disable Site-specific hacks" option fixes the issue and the user agent header becomes proper. With the option disabled it looks like: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Safari/605.1.15 According to documentation Safari tries to fix issues with my page but enabling or disabling the site-specific hacks option doesn't change the output in a browser console so I don't know what exactly is wrong with my page. I got two questions: Is it possible to disable "site-specific hacks" functionality using http headers, meta tags or any other site development technique rather than clicking in dev tools? Who decides and where to get information why our page was marked as broken and what actions we have to initiate to remove our page from "site-specific hacks"
Posted
by
Post marked as solved
37 Replies
16k Views
Hi, I just found that many tabs in my Safari Web Inspector are no longer there. For example, previously, I have the following tabs in Web Inspector: Inspector: Elements; Network; Sources; Timelines; Storage; Graphics; Layers; Audit; Console; But now, I only have: Console; Sources; Audit; Does anyone know the root cause, and how I can restore the missing tabs? Thanks much. My OS: macOS Catalina, 10.15.7 Xcode: 12.4 Safari: 14.1.1
Posted
by
Post not yet marked as solved
11 Replies
3.9k Views
One of the primary issues with web-development and dealing with Apple/Safari compared to dealing with the Microsoft Edge and Google Chrome teams is that it feels difficult for developers to have voice in Safari development. Requests on bugs.webkit.org go unanswered and critical features which are essential too many developers are never placed in the pipeline. From an outsiders perspective there seems to be several major issues: The Safari team is underfunded and needs more engineers and a much higher budget There is the perception that a significant number of critical features do not get developed because Apple does not want competition with the AppStore and by not developing those features it forces developers to use the App Store instead. Developers are not given an opportunity to communicate with Apple Having worked with Safari development since 2003 when it was one of the best, most feature rich advanced browsers, it's really disappointing for Safari to be the limiting factor in every single app we develop. Apple has the financing and the engineering talent to fix this. How can we open these lines of communication and make Safari one of the best browsers for developers once again?
Posted
by
Post marked as solved
12 Replies
15k Views
Hello, Is anyone else getting an error message like this, Safari could not open the page because the server stopped responding It suddenly stopped working after I clicked on the option to close all my tabs and refreshed the application. I am unable to browse anything. The internet side of things seem to be working fine. Pretty sure its a Safari issue.
Posted
by
Post marked as solved
1 Replies
1.1k Views
In the session, regarding prompting user for camera or microphone permission, the delegate method shown in the code snippet is the following: func webView(_ webView: WKWebView, decideMediaCapturePermissionFor origin: WKSecurityOrigin, initiatedByFrame frame: WKFrameInfo, type: WKMediaCaptureType) async -> WKPermissionDecision { return type == .microphone ? .prompt : .deny } But, I couldn't find this method in the documentation. Instead, I found this: func webView(_ webView: WKWebView, requestMediaCapturePermissionFor origin: WKSecurityOrigin, initiatedByFrame frame: WKFrameInfo, type: WKMediaCaptureType, decisionHandler: @escaping (WKPermissionDecision) -> Void) Which one is the latest? Thanks!
Posted
by
Post not yet marked as solved
3 Replies
772 Views
We want to debug our web extension on iOS, by default, we can access web extension background page from Desktop Safari -> Top Menu -> Develop -> Web Extension Background Pages This works perfectly for extensions installed on macOS, but how to access the ones installed on iOS/iPadOS?
Posted
by