Skip to content

Commit

Permalink
fixed diamond operator problem
Browse files Browse the repository at this point in the history
  • Loading branch information
craigrouse committed Jun 21, 2018
1 parent fc67f7c commit b7f1c8a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## Change Log
### 1.1.2
- Incremented version numbers
- Fixed "Diamond Operator" issue: https://github.com/Tealium/cordova-plugin/issues/31

### 1.1.1
- Added optional CrashReporter module
- Added optional Ad Identifier module
Expand Down
2 changes: 1 addition & 1 deletion Tealium/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tealium-cordova-plugin",
"version": "1.1.1",
"version": "1.1.2",
"description": "Tealium Tag Management",
"cordova": {
"id": "tealium-cordova-plugin",
Expand Down
2 changes: 1 addition & 1 deletion Tealium/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="tealium-cordova-plugin" version="1.1.1" name="tealium-cordova-plugin">
id="tealium-cordova-plugin" version="1.1.2" name="tealium-cordova-plugin">

<name>TealiumCordova</name>
<description>Tealium Tag Management and UDH</description>
Expand Down
4 changes: 2 additions & 2 deletions Tealium/src/android/TealiumPg.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
public class TealiumPg extends CordovaPlugin {

private Map<String, CallbackContext> tagBridgeCallback = new HashMap<String, CallbackContext>(5);
private final String LOG_TAG = "Tealium-Cordova-1.1.1";
private final String LOG_TAG = "Tealium-Cordova-1.1.2";
private boolean isDevBuild = false;
@Override
public boolean execute(String action, JSONArray args, final CallbackContext callbackContext) throws JSONException {
Expand Down Expand Up @@ -118,7 +118,7 @@ private void init(JSONObject arguments, CallbackContext callbackContext) {
String dataSourceId = arguments.optString("dataSourceId", null);
String isCrashReporterEnabled = arguments.optString("isCrashReporterEnabled", "false");
Tealium.Config config = Tealium.Config.create(app, accountName, profileName, environmentName);
ArrayList<String> moduleErrors = new ArrayList<>(3);
ArrayList<String> moduleErrors = new ArrayList<String>(3);

String libVersion = "5.4.2";
String override = this.mobileUrlOverride(accountName, profileName, environmentName, libVersion);
Expand Down
2 changes: 1 addition & 1 deletion Tealium/src/ios/tealium_int.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ @implementation TealiumPg
static NSString * const Tealium_Platform = @"ios_cordova";
static NSString * const Tealium_LibVersion = @"5.3.2";
static NSString * const Tealium_MobileBaseURL = @"https://tags.tiqcdn.com/utag/%@/%@/%@/mobile.html?%@=%@&%@=%@&%@=%@&%@=%@";
static NSString * const Tealium_PluginVersion = @"Tealium-Cordova-1.1.0";
static NSString * const Tealium_PluginVersion = @"Tealium-Cordova-1.1.2";
- (void) init: (CDVInvokedUrlCommand*)command {
// Check command.arguments here.
//[self.commandDelegate runInBackground:^{
Expand Down
4 changes: 2 additions & 2 deletions Tealium/www/tealium.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,8 @@ var Tealium = {
WARN: 2,
ERR: 3
},
TAG: "Tealium Cordova 1.1.1: ",
pluginVersion: "1.1.1"
TAG: "Tealium Cordova 1.1.2: ",
pluginVersion: "1.1.2"
},
// usage this.logger(this.logLevels.DEV, "some error message")
logger: function (severity, message) {
Expand Down

0 comments on commit b7f1c8a

Please sign in to comment.