Hi, Im workning with the fingerprint library, the example is useful but Im not sure why Im getting "getPromise is not a function", not sure why? Im using the library in a react application and Im also using webpack to compile my app.
Can you help me with that?
@zmts
Thanks for your replay. Yes of course I read that.
What do you mean by change import approach?
I change a little bit the example beacause I only need to execute one time in order to get the hash for send to the api:
@zmts
I did it. But if you do that It insall an older version. Not the one that support that.
Check your package.json for sure you have version 2.somethig but if you run npm i fingerprintjs2 it will instal a version 1.8
I also encountered this problem and later solved it.
The reason is that the default installation is version 1.8. The 1.8 version does not support this method. See which version is in your package.json file. You need to install the latest version 2.0.
Use the command: npm install fingerprintjs2@2 --save
brilliant