Freelance developer at greenparksoftware.co.uk
Most recent activity
Hey @hydronics, sorry I've been a bit quiet, just started a new job. I'll try and have a look at your problem over the next couple of days, will let you know how I get on.
The more I look into it the more it seems it is not possible to attach the Web Inspector to apps distributed via the App Store :-( See for example this ADC thread.
So for now you can try one of the two options I gave above, or debugging in Chrome on a WebBluetooth enabled PC / Mac first. I would like to add a console page to WebBLE so at least that is visible... but it will depend on whether I can find the time.
Hmm, it seems that the web inspector is disabled for apps downloaded from the app store. I'm just investigating whether that's something I can turn on, otherwise you could always build WebBLE yourself and run it in debug mode locally which will allow it to work. Or you can hack
console.log() to send it to a
<div> on your page or something like that (which is what I used to do).
Coincidentally I just updated the faqs with this very thing!
Could you post here if it works? I'd like to know if my guide was clear enough / works on someone else's device.
WebBLE 1.1.2 has now been accepted by Apple, so if you upgrade you should be able to use
In the current version (1.1.1) the only filters that should be supported are
"namePrefix". I'll add
"name" to 1.1.2, which I'm preparing now.
( @hydronics your published code had a small bug, where you used
options instead of
options1, but that's just FYI.)
WebBLE says it supports it so I guess it should :-) However, it doesn't seem to work at the moment, and looking at the code it looks like I didn't implement it. Given I said it is supported I think I should make it so! I'll try and get an update submitted to Apple today or tomorrow.
Edit: also this might help @user73018
@user73018: as Gordon says there is no way to enable Safari Remote Debugging in the browser unfortunately. A console window is next on my todo list for the app, but can't say when I might get around to it... sooner if more people ask for it!
"basic bookmark facility"... done :-)