I have created a webapplication with webRTC, my one to one calls are working fine, but those are not working in case of Ios Devices. Not sure how to make it work.
I have tried changing settings in safari -> experimental mode -> Multiple WebRTC settings and it didn't help either.
Can you please help me with any suggestion about this?
Thanks
I have tried changing settings in safari -> experimental mode -> Multiple WebRTC settings and it didn't help either.
Related
I'm developing an app which supports Facebook applinks. I was able to make it work for android. But for iOS, when I turned on “Deep Linking” (Settings -> Basic -> iOS), It didn’t save. It keeps the state as disabled. How to fix this?.
Recently I updated my device to the iOS12 (it's actually 12.0.1 now) and also my mac to the latest OS. Now, whenever I am trying to debug my Cordova app it will simply not show up in the Safari developer menu. The mobile browser works, its just Cordova not showing. This is happening only with the real device, in the simulator, it shows up. I followed a bunch of articles on how to reset the trust settings and even tried remotedebug_ios_webkit_adapter and nothing. How can I get to the bottom of this? I am completely stuck and unable to continue with development.
I would like to mention that the app is using the wkwebview engine, not uiwebview and we never had this problem ever since we moved to the new engine for a least a year now.
download & try same in Safari Technology Preview https://developer.apple.com/safari/technology-preview/
Go to you'r Phone settings -> Safari -> Advanced -> enable Web Inspector
then go to safari developer, you'r device will be appear there.
For me the solution was to restart Safari.
Lately it's been often that Cordova iOS debugger won't show in Safari, but I am able to fix it every time by completely quitting Safari and restarting it. ;)
Also, make sure that you sign your app with a development provisioning profile.
If any other way to open WiFi Settings in iOS 11?
This function is very important to my app.
Hope someone can help me.
Thanks.
English is my second language. I apologize.
I'm trying to develop an hybrid app and it needs wifi or mobile data enabled to work.
If none of them are enables a Pop-Up appears and gives the user 3 options, Wifi, Mobile Data or cancel.
On Android there's no problem. I can use cordova's diagnostic plugin and use switchToWifiSettings() or switchToMobileDataSettings()
But for IOS only switchToSettings() is available. Is there any way to go further and open WIFI settings or Mobile Data directly?
Thanks in advance.
The functionality was removed in iOS 5.1. There's no way to go further than that.
I'm working on an app I want to host in iOS via Cordova (PhoneGap). I've run into some problem when I try to access the device.platform and device.version properties. I'm not sure what the problem is. Either way, I can't figure out how to peek into the code to get a better idea of what's going on.
I thought I could just fire up the .html in the desktop version of Safari, however, that didn't provide any insights. In short:
How do I debug code running inside of Cordova?
Any ideas why I can't just do a "alert(device.platform);"?
Thank you!
Since iOS 6 you can just enable the Develop menu in Safari and use Safari Web Inspector to remotely debug Cordova app in either iOS Simulator or USB attached devices. If you've used Chrome's debugger you'll feel right at home.
as well as Weinre, there is also iWebInspector which is useful and perhaps better on ios.
http://www.mobilexweb.com/blog/debugging-web-safari-phonegap-iphone-ipad
I think it maybe only applies to the simulator but thats fine for most cases anyway. It is more Xcode and iOs debugging solution in my opinion .
I use nifty debugging tool called Weinre, which is a lifesaver when debugging cordova( phonegap) apps. It basically is a remote debugging tool resembling usual webkit developer tools available in Chrome and some other browsers.
Make sure that Cordova is loaded before you try to call device.platform. Cordova is loaded when deviceready js event is triggered.