Nick Allred
Nick Allred
This seems to just be an issue when building with an electron app. I can't reproduce this on my desktop using Node 6.11.5
Turns out, if the device _is_ paired then the callback is never called. If the device _is not_ paired then the callback is called.
It looks like it might be because initially `services` is an empty array. This code seems to work for now, but it doesn't handle disconnects in the middle of discovering...
I think I may have been able to get around this by periodically reading from a characteristic. I'm not sure if there is a better work around, but this is...
@Janneman84 Did you ever find a way around this to get this working in an Electron build for an end user? If not, the readme should probably be updated to...
@Janneman84 Are you still seeing this behavior? I'm on OS 10.0.15063.909 and Electron 1.8.2 and notifications appear to be functioning fine now. I don't remember the exact situation that caused...
I've got a hacky way I think I can fix this in my own fork of node-blockly. I'm not sure how what the correct way to fix this is yet.
Ah yea... At first I thought it was only drop downs but now I see its all pretty random. I'll take a look at blockly at some point and see...
Turns out my work around wasn't quite enough... This line causes problems.. https://github.com/mo4islona/node-blockly/blob/master/browser.js#L12 Since `setLocale` is always called initially with english, so even when you clear the require cache it...
But this solution is nice because I can change the language without doing the weird cache invalidation in my own code. If I made a PR using this pattern and...