navigator.mediaDevices.getUserMedia() is not working iOS 11 standalone apps. Does work in Safari 11 browser page.
Is this intentional? temporary?
Also, I can't get Safari 11 web inspector (MacOS Sierra 10.12.6) to even recognize any standalone web apps running on iPhone 7 with IOS11. It does recognize standalone apps pre IOS 11 iPhones. Also try{}catch{} reveals that navigator.mediaDevices.getUserMedia() is not valid call from standalone app in iPhone 7 running iOS 11.
In iOS 11, getUserMedia is only supported in Safari, not in UIWebView, WKWebView, SFSafariViewController, or web apps added to the home screen:
https://forums.developer.apple.com/thread/88052
Related
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 using Safari v7.1 and iOS Simulator v7.1 running ios v7.
I have enabled all the options in Mobile Safari in the iOS simulator as well as in Safari browser on Mac (v10.9.5) as per this url: http://webdesign.tutsplus.com/articles/quick-tip-using-web-inspector-to-debug-mobile-safari--webdesign-8787
However when I run any hybrid app in Simulator or open a webpage in mobile Safari, I dont see the webpage in Safari Web inspector. The Mac Safari option "Develop -> iOS Simulator" shows "No Inspectable application" to debug.
The same works fine if I connect an actual iPhone.
Any pointers are welcome!
From a WWDC 2014 session 512 "web_inspector_and_modern_javascript", you have to create a .entitlements file with these keys. It's about at 22:48 min in the video.
Can't find in Apple's Safari Web Inspector Guide though. Just weird... :(
Can we port still port Flash developed applications to iOS 7 and 8?
Before we've tried porting an application from flash to iOS 6 with the help of adobe air mobile. Does this still work now?
You can develop applications for iOS with Adobe AIR. (on iOS8 works too)
Here's a link to answer my question for iOS 7, yet I'm not sure for iOS 8.
But AIR should have an update for the iOS 8. most likely.
https://itunes.apple.com/us/app/puffin-web-browser/id406239138?mt=8
I'm currently having trouble enabling safari's debugging tools for a UIWebView. I'm trying to inspect why certain things are not loading in the UIWebView.
The app does not show up in the Safari > Develop > iOS Simulator list.
There are no inspectable applications for the app that is
loaded
I'm working with Xcode6-Beta, Mac OSX 10.10, and iOS 8.
I'm specifically looking for an answer that will allow me to debug using safari, or make note that the newest versions of Safari/Xcode don't debug app UIWebviews.
Wanted to let everyone know that it turns out that the bug I had on my end was on the webapp side not the ios side. Unfortunately I still have not found a way to debug in Safari an iOS 8 simulator.
I'm having difficulty inspecting web pages on mobile Safari.
I'm using an iPhone 5S with the latest version of iOS 7 and the Safari nightly builds on Mac. I've also got the relevant options turned on for the iPhone and desktop Safari but my device never appears in the Develop option in Safari.
Has this feature been removed in iOS 7 or am I going mad?
Update: Furthermore, this seems to work fine with an iPad running iOS 7 so I've ruled out the version of iOS. And I've tried it with two different devices (both same spec, 5S) which don't work