I am using Firebase to setup email link authentication and followed the instructions listed here: https://firebase.google.com/docs/auth/ios/email-link-auth?hl=en&authuser=0
The project is an iPhone, iPad, and Mac (Designed for iPad) app built using SwiftUI. The email link authentication is working perfectly fine on iPhone and iPad. When I tap on the link in the email, the app launches, processes the link, and I am logged in.
When I am running the iPad app on an Apple Silicon Mac using a "Mac (Designed for iPad) build. The dynamic links do not seem to make it to the running Mac app, specifically, onOpenURL is never triggered: https://developer.apple.com/documentation/swiftui/view/onopenurl(perform:)
I have tried opening the link using both chrome and Safari on the Mac. Neither of them make it to the running Mac (Designed for iPad) application.
Related
It looks like when an iOS app runs on Mac (Designed for iPad) it doesn't use Safari as the renderer but uses Apple Mail instead 🤯
Not only this browser seems to be more limited than Safari, but it also can't be inspected using Safari>Develop.
Any idea how this webview can be debugged? Thanks!
I have been working on an app which run on iOS Device and Mac both. I'm using Mac Designed for iPad option. I want to inspect WKWebview from my app in safari. I am able to inspect WKWebview in iOS devices but not able to inspect the same using Mac device as my app is not getting listed under develop option in safari for Mac Designed For iPAD option.
Does anyone know if testing webauthn in the iOS simulator (xcode 12) with ios 14.4 is possible? I tried it with https://webauthn.io and using an iPhone 8 with fingerprint enabled and iPhone 11 with faceid enabled but in both cases it does not seem work.
How to launch iOS simulator with Safari developer tools
1.Install XCode. If you are developing on Mac, chances are you already installed XCode. You can either use the Apple App Store (easiest way) to install XCode or get the DMG/XIP file to install it if you do not use the App Store.
2.Start iPhone/iOS Simulator.app to launch the Simulator. If you have not created a simulator yet, you need to do this in XCode. You can have multiple simulators as you might want to test on different devices. I recommend creating a shortcut so you do not need to open XCode every time you want to launch a simulator.
3.Open the Safari browser in the Simulator. As mentioned above, other browsers like Chrome are not supported.
4.Open the Safari browser on your Mac device to connect it with the Safari browser in the simulator. Now you should be able to use the Safari developer tools like in any other web page: see the DOM, set breakpoints for debugging, perform network analysis and much more.
At one point, I had web-to-native and native-to-web Handoff working on iOS 8. I've upgraded all my devices to iOS 9 betas, and I just noticed that I can't get web-to-native-app Handoff working. I'm not sure if it's an iOS 9 problem though. If I'm browsing my site on Mac Safari, my iPhone shows the Safari icon, when it should be showing my native App icon.
To be clear, Handoff is working from my iPhone app to my Mac (Safari), and it's working from my Mac (Safari, contacts, messages, mail, etc) to my iPhone. It's also working as native-app-to-native-app across an iPhone and an iPad. All this tells me I have everything configured correctly: minimum hardware requirements, iCloud logins, and my apple-app-site-association file.
My apple-app-site-associations file is accessible at these locations:
http://example.com/apple-app-site-association
http://www.example.com/apple-app-site-association
https://example.com/apple-app-site-association
https://www.example.com/apple-app-site-association
Any ideas on what I could look into to see what's failing, and why I'm not seeing my native app icon on the lock screen when trying to hand off from browser to native app?
I am trying to initiate an OTA app install from within a Phonegap iPad app. I have tried this:
var url = "http://www.example.com/test.plist";
window.open("itms-services://?action=download-manifest&url=" + url, "_blank");
This works in iOS 5 but NOT iOS 6.
I have also tried using the ChildBrowser plugin to point to a page with a link to the OTA app install, but that doesn't work either (if I visit the web page directly from within the native iPad browser, it works fine).
Does anyone know how I can initiate an OTA app install from within the Phonegap iPad app? (Must work in iOS 5 and iOS 6).
I am trying to implement an auto-update feature within an ad hoc iPad app (not through the App Store). So when the app detects that there is a new update, it will prompt the user to install the new update and that's where I need this functionality.
OK. So as it turns out. The simulator for iOS 6 does not understand this url itms-services://?action=download-manifest and therefore was not working.
Everything worked fine after testing on a physical iPad running iOS 6.