GithubHelp home page GithubHelp logo

mjohan / cordova-plugin-empatica-device Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 20 KB

Cordova plugin for Empatica device (android and iOS)

License: MIT License

Java 41.13% JavaScript 3.47% Objective-C 55.40%
android cordova-plugin empatica-device ios

cordova-plugin-empatica-device's People

Contributors

mjohan avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

cordova-plugin-empatica-device's Issues

cordova plugin add issue

I wanted to use this plugin for a phonegap project to communicate with Empatica device E4.

I got following error when adding plugin using command:
cordova plugin add

Error Message
Unable to load PlatformApi from platform. Error: Cannot find module 'C:..\platforms\browser\cordova\Api.js'
Failed to install 'cordova-plugin-empatica-device': Error: Uncaught, unspecified "error" event. (The platform "browser" does not appear to be a valid cordova platform. It is missing API.js. browser not supported.)

How to make the call in ionic 2?

Hello!

First of all, congratulations for the project, you can solve many things for me :)
I'm trying to add it to my project in Ionic v2, but I can not make a call correctly, because once I add the plugin with 'cordova plugin add cordova-plugin-empatica-device', I do not know how to make the call of Empatica.success () or Empatica.initialize (), since I do not know how to add the plugin to my controller.
Always the answer is Empatica is not defined.

If you can help me I would appreciate it.

Regards!

Uncaught ReferenceError: Empatica is not defined

I am getting this error, "Uncaught ReferenceError: Empatica is not defined".
I have added the plugin in my phonegap app.
using the command:
C:..phonegapProject>phonegap cordova plugin add <path\cordova-plugin-empatica-device>

next I added a line in config.xml:

And, I tried run it with the sample code (surbscribe to BVP sensor).
But, the code does not find Empatica.
Could you please help me with this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.