Skip to content

Commit

Permalink
MCET 224 (#54)
Browse files Browse the repository at this point in the history
* @W-6993575 - Updated the plugin for teh January 2020 release (MCET_224) and SDK v7.x.

* Updated imports for AndroidX libraries.
  • Loading branch information
troach-sf authored and billmote committed Mar 4, 2020
1 parent 1141703 commit 3fb89c5
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
node_modules
package-lock.json
package-lock.json
.*
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Change Log
==========

### Version 7.0.0
* Updated to the 7.0.x versions of the Android and iOS Marketing Cloud SDK.

### Version 6.4.0
* Updated to the 6.4.x versions of the Android and iOS Marketing Cloud SDK.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-marketingcloudsdk",
"version": "6.4.0",
"version": "7.0.0",
"description": "A Cordova Plugin to access the native Salesforce Marketing Cloud MobilePush SDKs",
"author": "Salesforce Marketing Cloud",
"license": "BSD-3-Clause",
Expand Down
4 changes: 2 additions & 2 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-marketingcloudsdk" version="6.4.0"
<plugin id="cordova-plugin-marketingcloudsdk" version="7.0.0"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">

Expand Down Expand Up @@ -64,7 +64,7 @@
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="MarketingCloudSDK" spec="~> 6.4" />
<pod name="MarketingCloudSDK" spec="~> 7.0" />
</pods>
</podspec>
<framework src="CoreLocation.framework/" />
Expand Down
4 changes: 2 additions & 2 deletions src/android/MCCordovaPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import androidx.annotation.Nullable;
import androidx.annotation.NonNull;
import android.util.Log;

import com.salesforce.marketingcloud.MCLogListener;
Expand Down
4 changes: 2 additions & 2 deletions src/android/MCInitProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import androidx.annotation.Nullable;
import androidx.annotation.NonNull;
import com.salesforce.marketingcloud.InitializationStatus;
import com.salesforce.marketingcloud.MCLogListener;
import com.salesforce.marketingcloud.MarketingCloudConfig;
Expand Down
2 changes: 1 addition & 1 deletion src/android/MCSdkConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import android.content.Context;
import android.content.res.Resources;
import android.content.res.XmlResourceParser;
import android.support.annotation.Nullable;
import androidx.annotation.Nullable;
import android.util.Log;
import com.google.firebase.FirebaseApp;
import com.salesforce.marketingcloud.MarketingCloudConfig;
Expand Down
4 changes: 2 additions & 2 deletions src/android/MCSdkListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import android.app.PendingIntent;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import androidx.annotation.Nullable;
import androidx.annotation.NonNull;
import android.util.Log;

import com.salesforce.marketingcloud.UrlHandler;
Expand Down
2 changes: 1 addition & 1 deletion src/android/build/marketingcloudsdk.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repositories {
}

dependencies {
implementation("com.salesforce.marketingcloud:marketingcloudsdk:6.4.+")
implementation("com.salesforce.marketingcloud:marketingcloudsdk:7.0.+")
}

ext.cdvPluginPostBuildExtras += {
Expand Down

0 comments on commit 3fb89c5

Please sign in to comment.