Back to All

Angular: Unable to load FaceID/Biometric plugin

Gonative native plugin for FaceID and Biometric is bought and is enabled in the configuration.
I am using Angular to run the commands as mentioned in this doc https://gonative.io/docs/apple-face-id-touch-id but I am getting this error Cannot read property auth of undefined.

I am not able to run window.gonative.auth in .ts file.

I also tried adding the code in JS of my index.html file, but not working.

  • Plugin is enabled.
  • Allowed URLs added of my test environment. Should the URL of my app exactly match with the Allowed URLs set in the plugin? Cannot a queryParameter be added in the URL set? Example: /login?state=/dashboard
  • Added the script from the document.