Post not yet marked as solved
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"
Post not yet marked as solved
I am using iPhone 8 Plus, IOS version 15.4.1, browser is Safari
I played an audio in an audio playlist, when the audio is end it will automatically play the next track of the audio playlist. It will work fine if iPhone screen is not locked.
But when the screen is locked, the audio will not play next track.
Here is an example link: http://relaxinglive.com/album.php?id=1
Open this link, choose a song.
Wait to the end of audio, if the screen is locked then the audio player will not play next track.
Note: The issue only happens in my iPhone, It doesn't happen on my MacBook.
The issue happen when my iPhone update version to 15.4.1 (the issue doesn't happen before)
Is it possible to make the browser play next audio track when screen locked?
Hi,
I have a WebView based app, I want any external links within the default website in the WebView to open in a new Safari browser tab rather than within the Website I am displaying through the app.
In the ViewController, I have:
import UIKit
import WebKit
import CoreLocation
class ViewController: UIViewController, WKNavigationDelegate {
var webView: WKWebView!
override func loadView() {
webView = WKWebView()
webView.navigationDelegate = self
view = webView
let url = URL(string: "https://domain.com")!
webView.load(URLRequest(url: url))
webView.allowsBackForwardNavigationGestures = true
webView.navigationDelegate = self
}
func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) {
if let url = navigationAction.request.url {
if url.host != "https://domain.com" {
UIApplication.shared.open(url)
decisionHandler(.cancel)
return
}
}
decisionHandler(.allow)
}}
But, rather than it opening a new Safari browser when you tap onto an external link, when the app launches, the website I have contained within the app opens in Safari.
Is there anything I can do to try and resolve this issue?
Any help is appreciated.
Post not yet marked as solved
My app loads a webview using WKWebView class, so it uses safari to render the web content. However, the content is quite complex and Chrome does perform considerably better than Safari. So i wonder if would be possible to use Chrome engine in WKWebview, instead of Safari.
Post not yet marked as solved
I would like to create a web app where you can drag and drop emails from Apple Mail (on macOS).
When you drag emails to the desktop an .eml file is created, but when you drag emails to the browser no file is being transferred, I can only get the mail’s subject.
So is it possible to drag and drop emails from Apple Mail to browsers? And if yes, then how? So far I've tried chrome and safari, but neither got any files with the dragged element. On windows with outlook or thunderbird this wasn’t an issue, so I hope it can be done with apple mail as well.
Thanks in advance
Post not yet marked as solved
Error instantiating template in Xcode: Error Domain=NSCocoaErrorDomain Code=642 "You can’t save the file “macOS (Extension)” because the volume is read only." UserInfo={NSFilePath=/YOU CAN READ IT Dyslexia won't stop you!/macOS (Extension), NSUnderlyingError=0x6000009a4270 {Error Domain=NSPOSIXErrorDomain Code=30 "Read-only file system"}}.
Could not create project.
Post not yet marked as solved
Hi,
I have followed the instructions as per the documentation, and I am able to generate a pushPackage successfully.
It seems to be only working on my safari browser, i.e. it asks me for the permission and upon granting the permission I do get a deviceToken.
But when we try to visit the same site on my colleague's safari browser, it gives a permission denied in browser console, while the logs show "Signature verification of push package failed"
Has someone else faced this issue before?
Post not yet marked as solved
e.g. via a keyboard shortcut? That would be really helpful when debugging.
Or is it possible to show the Quick Note window only on iPad with Pencil by swiping from the bottom right corner of the screen?
Post not yet marked as solved
Hi all!
Right now I'm trying to implement the SSO (single sign-on) feature for my applications. I have the common-auth domain and a couple of apps (domain AAA and domain BBB).
While I'm in domain AAA I sign in with the common-auth domain and got an access token (JWT) as a cookie. Then I continue interactions with the AAA domain.
After that, I open the domain BBB in a new tab. The application automatically makes a query to the common-auth server. I expect that the access token cookie, which I got from AAA, will be added to the query. But it's not.
I can't fully understand why it's not working. Everything is fin in Chrome, IE, and Firefox. Obviously, there are some restrictions with cookies in Safari. But I'm just a backend developer and right now feel a bit frustrated. How can I bypass that problem? What parameters should I add to the cookie to handle cookie sharing?
Would be appreciated any advice or links to docs.
PS. I won't use cookies for tracking or for some advertisements. Only for improving user experience.
Post not yet marked as solved
There is an example on MDN with Webshare API: mdn.github.io/dom-examples/web-share/
On iOS 14 device (test with iPhone 7 / iOS 14.0 / Safari) it works fine only once. For the second time it throws permission error:
Error: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
Here are all the steps to reproduce: Go to MDN Webshare API - https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share
Find a link to Web share test in "Examples" section and open it
Click "Share MDN!" button
Choose one of suggested options or just close sharing popover
Click on "Share MDN!" button again
See the error
Do you have any suggestions how to fix that? Is it a known bug?
Post not yet marked as solved
We have a custom application embedded in an iframe and the content inside the iframe is not loading only in Iphone after the ios is upgraded to ios15. The same application is working fine in IOS14. This issue is seen both safari and chrome browsers after IOS15 upgrade. The same application works fine in Android Mobiles and Desktop viewer. Are there any known issues with IOS15 with respect to Iframe? Any pointers to solve this issue will be greatly appreciated
Post not yet marked as solved
Is it possible to hide the home screen indicator present on iOS devices with no home button on webpages that have been added to home screen? I know it is possible on iOS apps, but I cannot find anything related to safari webpages added to home screen.
Post not yet marked as solved
I've made a web view app and it's live on the google play store I just want to ask can I publish it on AppStore or either it restricted?
I am using custom url scheme to transfer some data from WKWebView to App.
The JS code I use in WKWebView is similar to this:
try{
window.location.href = 'bsfit://'+window.some_custom_data;
}catch(err){
alert(err);
}
Before iOS 15.4, this has worked perfectly.
When tested on iOS 15.4 Beta5, I got an error "TypeError: Invalid URL".
Is this change intended in iOS 15.4 regarding custom URL schemes?
Since I can't change the existing app code, is there a workaround?
Thanks.
Post not yet marked as solved
When I open a new tab on MacBook (macOS version 12.3) and type something to search for in Google, the page reloads automatically when I click in any link on Google. I do not know why?
Imagine you open Google and type YouTube and then click on the first link that appears (which must lead to YouTube), once you are in YouTube, Safari brings you back to Google (this happens like in 1 second).
This happens in any other site not especially Google.
It happens when I type on the new tab http bar. Sometimes it goes back to the new tab again and again after typing a word and pressing enter and go to Google.
I cleared the history but the same issue is still present.
Post not yet marked as solved
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?
Post not yet marked as solved
I am using safari content blockers to block & unblock specific elements of a website when a user toggles on/off. I was assuming that when user toggles the blocking off & I remove blockings from blockers.json & then do a reload
class func reloadContentBlocker(withIdentifier identifier: String,
completionHandler: ((Error?) -> Void)? = nil)
the user would no longer see the blocks on safari. However, the user still sees unless he/she refreshes the page which doesn't seem the be the best user experience & it'd be annoying to remind user to do so every time. Are there any work arounds to this? Did Apple forgot to add this last step?
if we could've reloaded safari itself using swift it would've done the job but I am not aware of such APIs.
Really appreciate your help.
Post not yet marked as solved
We have build PWA application, Where we have functionality to make it work on the offline also. On offline the record is getting saved in indexedDB but when user comes online it is not getting fired. Where as in MAC desktop chrome browser is working fine. MAC desktop Safari, iPhone Chrome and Safari browser is not working. I wonder do background sync as been supported by IOS iphone or Not?
Post not yet marked as solved
Requirement :
Safaridriver provide option to disable Use Mock Capture Devices when use webdriver.
Problem :
In Mac OS, when use Safaridriver open a Safari browser for WebRTC samples, the audio input source only display Mock device (audio: Mock audio device 1/ Mock audio device 2 , video: Mock video device 1/ Mock video device 2) but not display Mac OS physical audio/video device .
From safaridriver readMe, seems no configure can set Use Mock Capture Devices , because WebDrier test not support live media capture
"For security reasons, Safari does not permit live media capture during a WebDriver test session. Instead, mock capture devices and streams with well-known contents are provided for testing purposes. "
(In Mac OS, cd/Library/Apple/System/Library/CoreServices/SafariSupport.bundle/Contents/MacOS , man safaridriver)
From safaridriver debug log, safaridriver not provide any configure for disable Mock device.
Reference :
WebRTC samples link:
https://webrtc.github.io/samples/src/content/devices/input-output/
safaridriver debug logs:
[safaridriver.82081.txt]
(https://developer.apple.com/forums/content/attachment/3806528b-d972-4459-8647-d4e6a4aae20a)
Reproduce demo:
SafariDriverDebug.java
pom.xml dependency:
Post not yet marked as solved
I made an app that is basically a WebView wrapper of a mobile site with tweaks. On startup, it loads up a particular site that the user can navigate according to his will. I understand that Apple rejects apps with minimal functionalities and those which are just a copy of the website.
However, I have added additional functions like uploading and downloading content, internet availability checkers, a custom error screen, progress bar, pull to refresh etc.
Also, another incentive of using the app is that the user gets to have an uninterrupted continuous session whereas he is logged out after a specific time of inactivity in the mobile site.
Are these features sufficient to get your WebView app approved on the App Store ( / do I need to add additional functionalities) or will the App Store flatline reject the app because it is based on a WebView Wrapper ? What is the App Store's policy on this ?