Closed malwatte closed 8 years ago
You can use a random string in clientSecret for eg: FingerprintAuth.show({ clientId: "myAppName", clientSecret: "Example"+Date.now() }, successCallback, errorCallback);
The clientSecret is arbitrary, so it can be anything you want it to be. It is only used as a seed to help generate a random encrypted token. The plugin does not return the same encrypted token so it can not be used to identify a user. It only ascertains that the user has enrolled a fingerprint on the device. @amjadajmer's example would suffice.
Hi, Iam still not sure what to use for the a_very_secret_encryption_key ?
I saw a similar question. Appreciate if anyone can provide an example. Thanks