WebBLE support in iOS - ios

I am trying to interact with a BLE device through webBle. I was able to do this in Chrome in Android. I was trying to do that same thing in iOS Chrome as well using.
navigator.bluetooth
But it was not working and after some research, I found that it's supported only in macOS and not in iOS.
I was wondering if there is any way for me to interact with the BLE device on iOS using a browser?

Web Bluetooth is not supported by Mobile Safari or WkWebView and has not been added by major 3rd-party browsers on iOS. There is however a Web Bluetooth-specific browser called WebBLE which includes an implementation of Web Bluetooth. It is open source software with code available on GitHub.

Related

Is it possible to Debug iOS app on Windows/Linux?

is there a way how to debug an iOS mobile app on Windows or Linux (Ubuntu)?
I have an application which runs fine on Android, but it has some flaws on iOS. For Android debugging, I always used the Chrome device inspector and I am wondering if it’s possible for iOS too?
The Webkit Adapter I found (https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter) works for debugging websites opened on iPhone via SAFARI browser, but not for the mobile app. Any ideas?
Thanks a lot for any suggestions.
Yes, you can develop your own lldb to support debugging non-jailbroken iOS device on Window, like this

webRTC-enabled browser for iOS?

Preface: there are questions (some good, some bad) already in existance on StackOverflow about webRTC support on various browsers and platforms, including iOS. However I couldn't find anything definitive that was more recent than ~2012, and this is a rapidly-changing field.
I'm working on a browser-based webapp that uses webRTC for minimal-latency peer-to-peer data transfer (not for audio/video, unlike most applications it would seem - all I need is DataChannel).
I hit a snag when I started testing the data-transfer part of the project and discovered that iOS devices still don't natively support this in their built-in browsers (despite some recent rumors).
Bowser is a free open-source browser App for iOS that purports to support webRTC on iOS. The problem is that when I try to open the app, it simply crashes and closes. I've tested this on an iPhone 5 and 5s. Googling has failed to turn up alternatives - even Chrome for iOS doesn't currently support webRTC it seems.
My questions:
1) Are there alternative browsers (even iOS-version restricted) that are currently supporting webRTC, or is there anything promising coming down the pipeline?
2) Does Bowser actually work (webRTC) on iOS devices where it doesn't crash immediately upon launch?
3) What strategies have other people used to work around this limitation?
As of iOS 11, WebRTC is now supported in Safari: https://developer.apple.com/library/archive/releasenotes/General/WhatsNewInSafari/Articles/Safari_11_0.html#//apple_ref/doc/uid/TP40014305-CH13-SW1
Check out crosswalk project ( https://crosswalk-project.org )
This Provides runtime of Chromium engine for native support in older devices.
1) Are there alternative browsers (even iOS-version restricted) that are currently supporting webRTC, or is there anything promising coming down the pipeline?
Answer:
There is a Browser called Bowser that supports webRTC.
2) Does Bowser actually work (webRTC) on iOS devices where it doesn't crash immediately upon launch?
Answer:
It's not crashing as of now.But I couldn't successfully test with anything so far.I have raised an issue about it
3) What strategies have other people used to work around this limitation?
Answer:
Apple is yet to support WebRTC in Webkit so as of now the only way would be develop a native or Hybrid app that would support the unsupported WebRTC APIs.
You can develop a hybrid app powered by OpenWebRTC or cordova-plugin-iosrtc

Does Appium allow to automate Chrome on real iOS device?

I am interested in tool which could automate web apps on real iOS devices using some programming language. Does Appium tool allow to automate Google Chrome browser on real iOS device?
Appium Supports automation of mobile WebApps through mobile safari only. No support for Chrome yet for iOS although for Android chrome is supported.
According to the official introduction, when executing against a real device appium is unable to access the web view directly. Therefore the connection has to be established through the USB lead. To establish this connection we use the ios-webkit-debugger-proxy.

Does Chrome on iOS support the filessytem API

I know chrome now supports the HTML5 filesystem api on desktop and I believe on Android but I have not seen any reference to chrome on ios supporting it. Does anyone know if it does?
No. Since iOS doesn't have an open/public filesystem.
Chrome on iOS uses Mobile WebKit, which does not support FileSystem or FileWriter APIs. You can test it out by pointing a device or simulator to this test page.
You can learn about the client-side storage and caching options that are available on this section of the Apple Developer website.

To what extent is web bluetooth usable in mobile devices?

From my understanding, the web bluetooth api found here:
https://googlechrome.github.io/samples/web-bluetooth/
is good with chrome across devices, but other browsers do not support it. Is this true?
this stackoverflow post says otherwise but it was two years ago and i'm just not sure if its even possible with IOS or a significant number of devices.
Scanning for beacons on iOS thru' web browser
I also saw this hackaday site that says you need the WebBLE app to do this, is that true?
https://hackaday.io/project/164733-pisugar-battery-for-raspberry-pi-zero/log/167217-use-web-bluetooth-to-connect-your-pi
Web Bluetooth Implementation Status is the best source for status.
On mobile: Android support via Chrome, Samsung Internet. iOS support via WebBLE.

Resources