mjohan / cordova-plugin-empatica-device

Cordova plugin for Empatica device (android and iOS)
MIT License
4 stars 0 forks source link

How to make the call in ionic 2? #5

Open Joanes04 opened 6 years ago

Joanes04 commented 6 years ago

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!