diff --git a/dist/package.json b/dist/package.json index 6617f05..135e24b 100644 --- a/dist/package.json +++ b/dist/package.json @@ -1,6 +1,6 @@ { "name": "@batch.com/cordova-plugin", - "version": "5.3.2", + "version": "5.4.0", "description": "Batch.com SDK Cordova/Ionic plugin for Android and iOS", "types": "index.d.ts", "cordova": { diff --git a/dist/plugin.xml b/dist/plugin.xml index 75d5fda..e992ddb 100755 --- a/dist/plugin.xml +++ b/dist/plugin.xml @@ -2,7 +2,7 @@ + version="5.4.0"> diff --git a/dist/src/android/BatchCordovaPlugin.java b/dist/src/android/BatchCordovaPlugin.java index 430d63c..edb42c7 100644 --- a/dist/src/android/BatchCordovaPlugin.java +++ b/dist/src/android/BatchCordovaPlugin.java @@ -39,7 +39,7 @@ public class BatchCordovaPlugin extends CordovaPlugin implements Callback, Logge private static final String PLUGIN_VERSION_ENVIRONEMENT_VAR = "batch.plugin.version"; - private static final String PLUGIN_VERSION = "Cordova/5.3.2"; + private static final String PLUGIN_VERSION = "Cordova/5.4.0"; /** * Key used to add extra to an intent to prevent it to be used more than once to compute opens @@ -93,7 +93,7 @@ public boolean execute(String action, String rawArgs, CallbackContext callbackCo if (parametersList != null && parametersList.size() > 0) { final Object firstItem = parametersList.get(0); - + try { parametersMap = (Map) firstItem; @@ -170,7 +170,7 @@ else if ( Action.SET_CONFIG.getName().equals(action) ) public void run(String value) { // Don't use NO_RESULT, it is bugged - webView.sendPluginResult(new PluginResult(PluginResult.Status.OK, value), callbackContext.getCallbackId()); + webView.sendPluginResult(new PluginResult(PluginResult.Status.OK, value), callbackContext.getCallbackId()); } }); } diff --git a/dist/src/ios/BatchCordovaPlugin.h b/dist/src/ios/BatchCordovaPlugin.h index e7d7f2d..b27b9c2 100644 --- a/dist/src/ios/BatchCordovaPlugin.h +++ b/dist/src/ios/BatchCordovaPlugin.h @@ -11,10 +11,10 @@ #import "BatchBridge.h" #import "BatchBridgeCallback.h" -#define PluginVersion "Cordova/5.3.2" +#define PluginVersion "Cordova/5.4.0" @interface BatchCordovaPlugin : CDVPlugin @property (copy, nonatomic) NSString *genericCallbackId; -@end \ No newline at end of file +@end