akofman / cordova-plugin-dbmeter

:microphone::mega: Cordova plugin to get decibels from the microphone
Apache License 2.0
35 stars 29 forks source link

DBMeter.start after DBMeter.delete inconsistent behavior #14

Open nexorianus opened 6 years ago

nexorianus commented 6 years ago

after doing a DBMeter.delete(callback, errorLog); the use of DBMeter.start(callback, errorLog); has inconsistent behavior on Android and iOS.

On Android the DBMeter will be restartet and is listening. On iOS the DBMeter wont be restartet, and does not throw an error.

I'd love to have a consistent behavior here. So you can rely on both platforms on the delete feature.