Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Native: tried calling DBMeter.start, but the DBMeter plugin is not installed." #20

Open
dimeh95 opened this issue Dec 24, 2019 · 1 comment

Comments

@dimeh95
Copy link

dimeh95 commented Dec 24, 2019

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'"
[ng] [console.error]: "ERROR" "plugin_not_installed"

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:

"
need microphone access to record sounds
"

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)

@EYALIN
Copy link

EYALIN commented Apr 12, 2023

@dimeh95 this issue has been fixed at my forked repo ( can see #25)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants