Skip to content

Commit

Permalink
Merge pull request #659 from adobe/staging-v2
Browse files Browse the repository at this point in the history
staging -> main (v2.6.3 release)
  • Loading branch information
yangyansong-adbe authored May 10, 2024
2 parents 74fe097 + 3f2c440 commit 3363d15
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Release
name: Android 2.x Release
on:
workflow_dispatch:
inputs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,18 @@ private void marshalIntentExtras(final Bundle extraBundle) {
newKey = LOCAL_NOTIFICATION_ID_KEY;
}

Object value = extraBundle.get(key);

if (value != null && value.toString().length() > 0) {
this.launchData.put(newKey, value);
try {
Object value = extraBundle.get(key);
if (value != null && value.toString().length() > 0) {
this.launchData.put(newKey, value);
}
} catch (Exception e) {
Log.warning(
CoreConstants.LOG_TAG,
TAG,
"Failed to retrieve data (key = %s) from Activity, error is: %s",
key,
e.getLocalizedMessage());
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ package com.adobe.marketing.mobile.internal

internal object CoreConstants {
const val LOG_TAG = "MobileCore"
const val VERSION = "2.6.2"
const val VERSION = "2.6.3"

object EventDataKeys {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import kotlin.test.assertTrue
@RunWith(MockitoJUnitRunner.Silent::class)
class MobileCoreTests {

private var EXTENSION_VERSION = "2.6.2"
private var EXTENSION_VERSION = "2.6.3"

@Mock
private lateinit var mockedEventHub: EventHub
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ import kotlin.test.assertTrue
@RunWith(MockitoJUnitRunner.Silent::class)
class ConfigurationExtensionTests {

private var EXTENSION_VERSION = "2.6.2"
private var EXTENSION_VERSION = "2.6.3"

@Mock
private lateinit var mockServiceProvider: ServiceProvider
Expand Down
2 changes: 1 addition & 1 deletion code/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ android.useAndroidX=true
#
#Maven artifacts
#Core extension
coreExtensionVersion=2.6.2
coreExtensionVersion=2.6.3
coreExtensionName=core
coreExtensionAARName=core-phone-release.aar
coreMavenRepoName=AdobeMobileCoreSdk
Expand Down

0 comments on commit 3363d15

Please sign in to comment.