community-cordova-plugin-dbmeter 2.3.1 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "community-cordova-plugin-dbmeter",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "main": "./types/index.d.ts",
5
5
  "types": "./types/index.d.ts",
6
6
  "readme": "README.md",
package/plugin.xml CHANGED
@@ -3,7 +3,7 @@
3
3
  <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
4
4
  xmlns:android="http://schemas.android.com/apk/res/android"
5
5
  id="community-cordova-plugin-dbmeter"
6
- version="2.3.1">
6
+ version="2.3.2">
7
7
  <name>Cordova Plugin DBMeter</name>
8
8
  <description>A Cordova plugin to get decibel (dB) values from the device microphone</description>
9
9
  <license>MIT</license>
@@ -194,7 +194,7 @@ import AVFoundation
194
194
  let db = self.calculateDbLevel()
195
195
 
196
196
  let pluginResult = CDVPluginResult(status: .ok, messageAs: db)
197
- pluginResult?.setKeepCallbackAs(true)
197
+ pluginResult.setKeepCallbackAs(true)
198
198
  self.commandDelegate!.send(pluginResult, callbackId: self.command.callbackId)
199
199
  }
200
200
  }