This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Any issues with Cordova or Phonegap?

Considering using an nRF52 module, I'm developing using EvoThings' native plugins right now. I don't think we have the resources to do IOS and Android native apps.

Has anyone here had success with the Javascript based apps using native plugins? Has anyone had success with a specific plugin?

I just want to make sure there these are stable enough to launch a real product on and I won't end up with some "gotcha" when it comes to the Nordic side.

Parents
  • hi ,

    actually with nordic sdk , cordova will work fine with this plugin github.com/.../cordova-plugin-ble-central , it really depends on what you really want from your app side , if the methods mentioned are enough for your work , then you are good to go.

    I have use cordova for other works but not with nordic but as i said it depdnds on the flexibility of the plugin your working on.

  • Did you manage to get this cordova plugin to work ?

    I can connect to a service, but I can't seem to either read or write to work

    Strangely, after the connection event, the peripheral (nRf51) receives BLE_GAP_EVT_CONN_PARAM_UPDATE sent to my service, but I don't think this is an event that Peripherals are supposed to receive (or handle) ?? because I can only find BLE_GAP_EVT_CONN_PARAM_UPDATE used in the Nordic "central" code examples.

    So it would be good to know if someone actually uses this cordova plugin Note. The Cordova plugin works fine for scanning and I can read the manufacturer data from the adv data etc, its just reading and writing that seem to be a problem

Reply
  • Did you manage to get this cordova plugin to work ?

    I can connect to a service, but I can't seem to either read or write to work

    Strangely, after the connection event, the peripheral (nRf51) receives BLE_GAP_EVT_CONN_PARAM_UPDATE sent to my service, but I don't think this is an event that Peripherals are supposed to receive (or handle) ?? because I can only find BLE_GAP_EVT_CONN_PARAM_UPDATE used in the Nordic "central" code examples.

    So it would be good to know if someone actually uses this cordova plugin Note. The Cordova plugin works fine for scanning and I can read the manufacturer data from the adv data etc, its just reading and writing that seem to be a problem

Children
No Data
Related