MediaPlugin error with getCurrentAmplitude()


I’m trying to use the MediaPlugin, but when I try to use the method getCurrentAmplitude() it always says this error
TypeError: Cannot read property ‘apply’ of undefined

If i remove the method, the audio is recorded perfectly, so the mistake is in this method.

I tried different things like

console.log( but returns a promise, so I’m using this now. => {

but the result its the same in both cases, the error I said before.

Any clue about what is causing this error?

Thank you!

No one used this method before? I really need help with this :frowning:

Same problem here …

@Mystearica did you found any solutions on this???

Thanks a lot.

Hey @Mystearica I found this

As alternative i´ve tryed ionic native dbmeter

Best Regards