Hi everyone, I am trying to run the following code :
let subscription = this.dbMeter.start().subscribe(
data => console.log(data)
);
but I have this following error :
[ng] [console.warn]: "Native: tried calling DBMeter.start, but the DBMeter plugin is not installed."
[ng] [console.warn]: "Install the DBMeter plugin: 'ionic cordova plugin add cordova-plugin dbmeter'"
[ng] [console.warn]: "Native: tried calling DBMeter.stop, but the DBMeter plugin is not installed."
[ng] [console.warn]: "Install the DBMeter plugin: 'ionic cordova plugin add cordova-plugin-dbmeter'"
Hi everyone, I am trying to run the following code :
let subscription = this.dbMeter.start().subscribe( data => console.log(data) );
but I have this following error :
[ng] [console.warn]: "Native: tried calling DBMeter.start, but the DBMeter plugin is not installed." [ng] [console.warn]: "Install the DBMeter plugin: 'ionic cordova plugin add cordova-plugin dbmeter'" [ng] [console.warn]: "Native: tried calling DBMeter.stop, but the DBMeter plugin is not installed." [ng] [console.warn]: "Install the DBMeter plugin: 'ionic cordova plugin add cordova-plugin-dbmeter'"
here is the installation i did :
cordova plugin add cordova-plugin-add-swift-support cordova plugin add cordova-plugin-dbmeter npm install @ionic-native/db-meter
I put the following code in the config.xml file in the platform (ios) tag:
"
"
and I did not forget to add in the providers "DBMeter" so I really don't understand the error
Can you please help me? (thank you)