Hce Plugin


#1

Hi ,
im tried to use hce plugin like any other plugin in https://ionicframework.com/docs/native/ but when i add hce in app.module.ts i have this error :

Encountered undefined provider! Usually this means you have a circular dependencies (might be caused by using ‘barrel’ index.ts files.


#2

there is an error in the documentation , you must use the name of the plugin in upper case :unamused:

import { **HCE** } from '@ionic-native/hce';


constructor(private hce: **HCE**) { }