How use affectiva in a cordova project?


I am developing a Cordova(Phonegap) hybrid project for Android and IOS platforms using jquery mobile framework I have tried using javascript version of affectiva but it does not detect camera(I have also installed cordova camera plugin) and i get the call back message camera denied. Any suggestion on how to enable affdex.CameraDetector to recognize device camera? Thanks


Hi, I think the Cordova project uses NodeJS. The current SDK cannot be used with Cordova because it uses MEMFS internally to load the expressions.