microsoft / node-uwp

Enables Universal Windows Platform (UWP) API access for Node.js (Chakra build) on Windows 10.
MIT License
152 stars 26 forks source link

Will this work in Electron shell? #16

Open Janneman84 opened 8 years ago

Janneman84 commented 8 years ago

I have created an app in Electron (http://electron.atom.io). It's basically a web application in a Chromium browser with NodeJS packed into an executable. My users can download and run this like it's a desktop application.

I'd like the app to connect to a Bluetooth Low Energy device through GATT in Windows 10. There is a UWP API for this that works. However I don't really feel like porting my app to a Windows Store app if I don't have to. So I came across this and it looks promising.

Now before I spend a lot of time and energy into trying to make this work, I'd like to ask you guys if you think it's possible at all. I'm sure I'm not the only person wondering this, thank you.

jianchun commented 8 years ago

@Janneman84 I've asked people around and heard that accessing Bluetooth Low Energey devices should be fine, but the first blocker is this doesn't work with Electron yet. As I understand Electron uses a customized version of node.js. This addon module only work with node.js with Chakra. We haven't been able to investigate the possibility and what it needs to support Electron.