BlinkID / blinkid-cordova

ID scanning for cross-platform apps built with Cordova and Phonegap.
48 stars 34 forks source link

Upgraded cordova to 9.0.0, can't compile BlinkID #104

Closed AlibekJ closed 5 years ago

AlibekJ commented 5 years ago

Compilation fails with:

Using "requireCordovaModule" to load non-cordova module "fs" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.

Got away by commenting out everything in /plugins/blinkid-cordova/scripts/fix-largeheap.js

This line seems to be causing issues: var fs = ctx.requireCordovaModule('fs')

i1E commented 5 years ago

Hi @AlibekJ, latest version of the BlinkID plugin (v4.8.0) should work, we have removed line that includes fix-largeheap.js in plugin.xml.