Skip to content

Commit

Permalink
all: bump version to 5.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-roland committed Jan 23, 2024
1 parent b37a6e4 commit 8274b18
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion dist/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="@batch.com/cordova-plugin"
version="5.3.2">
version="5.4.0">
<engines>
<engine name="cordova" version=">=9.0.0" />
<engine name="cordova-android" version=">=9.0.0" />
Expand Down
6 changes: 3 additions & 3 deletions dist/src/android/BatchCordovaPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<String, Object>) firstItem;
Expand Down Expand Up @@ -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());
}
});
}
Expand Down
4 changes: 2 additions & 2 deletions dist/src/ios/BatchCordovaPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <BatchBridgeCallback, BatchLoggerDelegate, BatchMessagingDelegate>

@property (copy, nonatomic) NSString *genericCallbackId;

@end
@end

0 comments on commit 8274b18

Please sign in to comment.