From eb3f21788fcca8585323f779a391cc13c31be114 Mon Sep 17 00:00:00 2001 From: Steve Benedick Date: Mon, 4 Dec 2023 16:20:01 -0700 Subject: [PATCH 1/7] [PLATIR-34650] Fix bug causing webview creation failure from blocking ui --- .../mobile/services/ui/AEPMessage.java | 15 ++++++- .../mobile/services/ui/TestAppUIServices.java | 42 ++++++++++++++++++- .../com/adobe/testapp/UIServicesFragment.java | 2 +- 3 files changed, 55 insertions(+), 4 deletions(-) diff --git a/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java b/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java index c03a761c5..9052300a4 100644 --- a/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java +++ b/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java @@ -201,7 +201,20 @@ public void show(final boolean withMessagingDelegateControl) { // create the webview if needed if (webView == null) { - webView = createWebView(); + for (int i = 0; i < 5; i++) { + webView = createWebView(); + + if (webView != null) { + // exit loop if webview creation was successful + break; + } + } + + if (webView == null) { + // unable to create the webview, need to call failure logic and bail. + listener.onShowFailure(); + return; + } } final Activity currentActivity = getCurrentActivity(); diff --git a/code/testapp/src/main/java/com/adobe/marketing/mobile/services/ui/TestAppUIServices.java b/code/testapp/src/main/java/com/adobe/marketing/mobile/services/ui/TestAppUIServices.java index 761914b34..8f1672b50 100644 --- a/code/testapp/src/main/java/com/adobe/marketing/mobile/services/ui/TestAppUIServices.java +++ b/code/testapp/src/main/java/com/adobe/marketing/mobile/services/ui/TestAppUIServices.java @@ -18,6 +18,8 @@ import com.adobe.marketing.mobile.services.ui.FullscreenMessage; import com.adobe.marketing.mobile.services.ui.NotificationSetting; +import java.net.URI; +import java.net.URISyntaxException; import java.util.Map; public class TestAppUIServices { @@ -49,8 +51,44 @@ public void showLocalNotification(final String identifier, final String content, } public void showFullscreenMessage(final String html) { - FullscreenMessage fullScreenMessage = uiService.createFullscreenMessage(html, null, false, null); - fullScreenMessage.show(); + final MessageSettings messageSettings = new MessageSettings(); + // ACS fullscreen messages are displayed at 100% scale + messageSettings.setHeight(100); + messageSettings.setWidth(100); + messageSettings.setParent(this); + messageSettings.setVerticalAlign(MessageSettings.MessageAlignment.TOP); + messageSettings.setHorizontalAlign(MessageSettings.MessageAlignment.CENTER); + messageSettings.setDisplayAnimation(MessageSettings.MessageAnimation.BOTTOM); + messageSettings.setDismissAnimation(MessageSettings.MessageAnimation.BOTTOM); + messageSettings.setBackdropColor("#FFFFFF"); // html code for white + messageSettings.setBackdropOpacity(1.0f); + messageSettings.setUiTakeover(true); + + FullscreenMessage fullScreenMessage = uiService.createFullscreenMessage(html, new FullscreenMessageDelegate() { + @Override + public void onShow(FullscreenMessage message) {} + @Override + public void onDismiss(FullscreenMessage message) {} + @Override + public boolean overrideUrlLoad(FullscreenMessage message, String url) { + try { + final URI uri = new URI(url); + if (uri.getScheme().equals("adbinapp") && uri.getHost().equals("dismiss")) { + message.dismiss(); + return true; + } + } catch (URISyntaxException ex) { + return false; + } + return false; + } + @Override + public void onShowFailure() {} + }, false, messageSettings); + + if (fullScreenMessage != null) { + fullScreenMessage.show(); + } } public void showUrl(final String url) { diff --git a/code/testapp/src/main/java/com/adobe/testapp/UIServicesFragment.java b/code/testapp/src/main/java/com/adobe/testapp/UIServicesFragment.java index 078bf1c48..3694fc76e 100644 --- a/code/testapp/src/main/java/com/adobe/testapp/UIServicesFragment.java +++ b/code/testapp/src/main/java/com/adobe/testapp/UIServicesFragment.java @@ -62,7 +62,7 @@ public void onClick(View view) { System.currentTimeMillis() / 1000, 0, "myscheme://link", null, "sound.wav", getString(R.string.test_notification_title)); } else if (viewId == R.id.btnShowFullScreenMsg) { - testAppUIServices.showFullscreenMessage("" + getString(R.string.test_fullscreen_html) + ""); + testAppUIServices.showFullscreenMessage("" + getString(R.string.test_fullscreen_html) + "

"); } else if (viewId == R.id.btnShowUrl) { testAppUIServices.showUrl(getString(R.string.test_url)); } else if (viewId == R.id.btnShowFloatingButton) { From 57731fb810020153c6e427a1f773a25666826a79 Mon Sep 17 00:00:00 2001 From: Steve Benedick Date: Mon, 4 Dec 2023 16:34:59 -0700 Subject: [PATCH 2/7] -remove call to onShowFailure in createWebView method --- .../java/com/adobe/marketing/mobile/services/ui/AEPMessage.java | 1 - 1 file changed, 1 deletion(-) diff --git a/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java b/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java index 9052300a4..b121e9622 100644 --- a/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java +++ b/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java @@ -547,7 +547,6 @@ private WebView createWebView() { TAG, "Exception occurred when creating the webview: %s", exception.getLocalizedMessage()); - listener.onShowFailure(); createWebviewTask.cancel(true); return null; } From a35f5c1e90422f2a7dda90e08c00e9424f53690e Mon Sep 17 00:00:00 2001 From: Steve Benedick Date: Mon, 4 Dec 2023 17:10:48 -0700 Subject: [PATCH 3/7] -get rid of magic number --- .../com/adobe/marketing/mobile/services/ui/AEPMessage.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java b/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java index b121e9622..3bf8f0abf 100644 --- a/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java +++ b/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java @@ -57,6 +57,8 @@ class AEPMessage implements FullscreenMessage { private static final String FRAGMENT_TAG = "AEPMessageFragment"; private static final String UNEXPECTED_NULL_VALUE = "Unexpected Null Value"; private static final int ANIMATION_DURATION = 300; + + private static final int WEBVIEW_CREATION_MAX_TRIES = 5; private static final String UTF_8 = "UTF-8"; // package private vars @@ -201,7 +203,7 @@ public void show(final boolean withMessagingDelegateControl) { // create the webview if needed if (webView == null) { - for (int i = 0; i < 5; i++) { + for (int i = 0; i < WEBVIEW_CREATION_MAX_TRIES; i++) { webView = createWebView(); if (webView != null) { From cba93e5027b60ba32220fe10681e7ae446ba4cb7 Mon Sep 17 00:00:00 2001 From: Steve Benedick Date: Tue, 5 Dec 2023 14:10:58 -0700 Subject: [PATCH 4/7] -fixing some tests that broke, but were false positives passing due to the bug fix in this PR --- .../mobile/services/ui/AEPMessageTests.java | 148 ++++++++++-------- 1 file changed, 81 insertions(+), 67 deletions(-) diff --git a/code/core/src/test/java/com/adobe/marketing/mobile/services/ui/AEPMessageTests.java b/code/core/src/test/java/com/adobe/marketing/mobile/services/ui/AEPMessageTests.java index 8d6a0bfdf..875cd43d8 100644 --- a/code/core/src/test/java/com/adobe/marketing/mobile/services/ui/AEPMessageTests.java +++ b/code/core/src/test/java/com/adobe/marketing/mobile/services/ui/AEPMessageTests.java @@ -18,6 +18,8 @@ import static org.mockito.ArgumentMatchers.eq; import static org.mockito.ArgumentMatchers.isNull; import static org.mockito.Mockito.doAnswer; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.mockConstruction; import static org.mockito.Mockito.never; import static org.mockito.Mockito.when; @@ -30,6 +32,7 @@ import android.view.MotionEvent; import android.view.ViewGroup; import android.view.animation.Animation; +import android.webkit.WebSettings; import android.webkit.WebView; import androidx.cardview.widget.CardView; import com.adobe.marketing.mobile.services.AppContextService; @@ -47,6 +50,7 @@ import org.junit.runner.RunWith; import org.mockito.ArgumentMatchers; import org.mockito.Mock; +import org.mockito.MockedConstruction; import org.mockito.Mockito; import org.mockito.junit.MockitoJUnitRunner; @@ -176,79 +180,89 @@ public void testCreateAEPMessage_nullMessageDelegate() throws MessageCreationExc // AEPMessage show tests @Test public void aepMessageIsShown_When_NoOtherMessagesAreDisplayed() { - // setup - Mockito.when(mockMessageMonitor.show(any(FullscreenMessage.class), anyBoolean())) - .thenCallRealMethod() - .thenReturn(true); - Mockito.when(mockMessageMonitor.isDisplayed()).thenReturn(false); - Mockito.when( - mockMessagingDelegate.shouldShowMessage( - ArgumentMatchers.any(AEPMessage.class))) - .thenReturn(true); - - try { - message = - new AEPMessage( - "html", - mockFullscreenMessageDelegate, - false, - mockMessageMonitor, - mockAEPMessageSettings, - mockExecutor); - } catch (MessageCreationException ex) { - Assert.fail(ex.getMessage()); + try (MockedConstruction ignored = mockConstruction(WebView.class, (mock, context) -> { + WebSettings mockWebSettings = Mockito.mock(WebSettings.class); + when(mock.getSettings()).thenReturn(mockWebSettings); + })) { + // setup + Mockito.when(mockMessageMonitor.show(any(FullscreenMessage.class), anyBoolean())) + .thenCallRealMethod() + .thenReturn(true); + Mockito.when(mockMessageMonitor.isDisplayed()).thenReturn(false); + Mockito.when( + mockMessagingDelegate.shouldShowMessage( + ArgumentMatchers.any(AEPMessage.class))) + .thenReturn(true); + + try { + message = + new AEPMessage( + "html", + mockFullscreenMessageDelegate, + false, + mockMessageMonitor, + mockAEPMessageSettings, + mockExecutor); + } catch (MessageCreationException ex) { + Assert.fail(ex.getMessage()); + } + Mockito.when(mockViewGroup.getMeasuredWidth()).thenReturn(1000); + Mockito.when(mockViewGroup.getMeasuredHeight()).thenReturn(1000); + setupFragmentTransactionMocks(); + + // test + message.show(); + // verify + Mockito.verify(mockMessageMonitor, Mockito.times(1)) + .show(any(FullscreenMessage.class), eq(true)); + Mockito.verify(mockMessageMonitor, Mockito.times(1)).displayed(); + + // Verify that the message delegates are notified + Mockito.verify(mockFullscreenMessageDelegate).onShow(message); + Mockito.verify(mockMessagingDelegate).onShow(message); } - Mockito.when(mockViewGroup.getMeasuredWidth()).thenReturn(1000); - Mockito.when(mockViewGroup.getMeasuredHeight()).thenReturn(1000); - setupFragmentTransactionMocks(); - - // test - message.show(); - // verify - Mockito.verify(mockMessageMonitor, Mockito.times(1)) - .show(any(FullscreenMessage.class), eq(true)); - Mockito.verify(mockMessageMonitor, Mockito.times(1)).displayed(); - - // Verify that the message delegates are notified - Mockito.verify(mockFullscreenMessageDelegate).onShow(message); - Mockito.verify(mockMessagingDelegate).onShow(message); } @Test public void aepMessageIsNotShown_When_AnotherMessageIsDisplayed() { - // setup - Mockito.when(mockMessageMonitor.isDisplayed()).thenReturn(true); - Mockito.when( - mockMessagingDelegate.shouldShowMessage( - ArgumentMatchers.any(AEPMessage.class))) - .thenReturn(true); - - try { - message = - new AEPMessage( - "html", - mockFullscreenMessageDelegate, - false, - mockMessageMonitor, - mockAEPMessageSettings, - mockExecutor); - } catch (MessageCreationException ex) { - Assert.fail(ex.getMessage()); + try (MockedConstruction ignored = mockConstruction(WebView.class, (mock, context) -> { + WebSettings mockWebSettings = Mockito.mock(WebSettings.class); + when(mock.getSettings()).thenReturn(mockWebSettings); + })) { + // setup + Mockito.when(mockMessageMonitor.isDisplayed()).thenReturn(true); + Mockito.when( + mockMessagingDelegate.shouldShowMessage( + ArgumentMatchers.any(AEPMessage.class))) + .thenReturn(true); + + try { + message = + new AEPMessage( + "html", + mockFullscreenMessageDelegate, + false, + mockMessageMonitor, + mockAEPMessageSettings, + mockExecutor); + } catch (MessageCreationException ex) { + Assert.fail(ex.getMessage()); + } + Mockito.when(mockViewGroup.getMeasuredWidth()).thenReturn(1000); + Mockito.when(mockViewGroup.getMeasuredHeight()).thenReturn(1000); + setupFragmentTransactionMocks(); + + // test + message.show(); + // verify + Mockito.verify(mockMessageMonitor, Mockito.times(1)) + .show(any(FullscreenMessage.class), eq(true)); + Mockito.verify(mockMessageMonitor, Mockito.times(0)).displayed(); + + // Verify that the message delegates are never notified about showing + Mockito.verify(mockFullscreenMessageDelegate, never()).onShow(message); + Mockito.verify(mockMessagingDelegate, never()).onShow(message); } - Mockito.when(mockViewGroup.getMeasuredWidth()).thenReturn(1000); - Mockito.when(mockViewGroup.getMeasuredHeight()).thenReturn(1000); - setupFragmentTransactionMocks(); - - // test - message.show(); - // verify - Mockito.verify(mockMessageMonitor, Mockito.times(1)) - .show(any(FullscreenMessage.class), eq(true)); - Mockito.verify(mockMessageMonitor, Mockito.times(0)).displayed(); - - // Verify that the message delegates are never notified about showing - Mockito.verify(mockFullscreenMessageDelegate, never()).onShow(message); - Mockito.verify(mockMessagingDelegate, never()).onShow(message); } @Test From 584d72bdca375db13053b630043aa14f5237d5eb Mon Sep 17 00:00:00 2001 From: Steve Benedick Date: Tue, 5 Dec 2023 14:29:24 -0700 Subject: [PATCH 5/7] -formatting --- .../mobile/services/ui/AEPMessageTests.java | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/code/core/src/test/java/com/adobe/marketing/mobile/services/ui/AEPMessageTests.java b/code/core/src/test/java/com/adobe/marketing/mobile/services/ui/AEPMessageTests.java index 875cd43d8..a14e8d99d 100644 --- a/code/core/src/test/java/com/adobe/marketing/mobile/services/ui/AEPMessageTests.java +++ b/code/core/src/test/java/com/adobe/marketing/mobile/services/ui/AEPMessageTests.java @@ -180,10 +180,13 @@ public void testCreateAEPMessage_nullMessageDelegate() throws MessageCreationExc // AEPMessage show tests @Test public void aepMessageIsShown_When_NoOtherMessagesAreDisplayed() { - try (MockedConstruction ignored = mockConstruction(WebView.class, (mock, context) -> { - WebSettings mockWebSettings = Mockito.mock(WebSettings.class); - when(mock.getSettings()).thenReturn(mockWebSettings); - })) { + try (MockedConstruction ignored = + mockConstruction( + WebView.class, + (mock, context) -> { + WebSettings mockWebSettings = Mockito.mock(WebSettings.class); + when(mock.getSettings()).thenReturn(mockWebSettings); + })) { // setup Mockito.when(mockMessageMonitor.show(any(FullscreenMessage.class), anyBoolean())) .thenCallRealMethod() @@ -225,10 +228,13 @@ public void aepMessageIsShown_When_NoOtherMessagesAreDisplayed() { @Test public void aepMessageIsNotShown_When_AnotherMessageIsDisplayed() { - try (MockedConstruction ignored = mockConstruction(WebView.class, (mock, context) -> { - WebSettings mockWebSettings = Mockito.mock(WebSettings.class); - when(mock.getSettings()).thenReturn(mockWebSettings); - })) { + try (MockedConstruction ignored = + mockConstruction( + WebView.class, + (mock, context) -> { + WebSettings mockWebSettings = Mockito.mock(WebSettings.class); + when(mock.getSettings()).thenReturn(mockWebSettings); + })) { // setup Mockito.when(mockMessageMonitor.isDisplayed()).thenReturn(true); Mockito.when( From e0deddef53b0f2670ae944c2d15b8f3696ef5032 Mon Sep 17 00:00:00 2001 From: Steve Benedick Date: Tue, 5 Dec 2023 16:33:46 -0700 Subject: [PATCH 6/7] -add additional try/catch during webview creation to enhance logging --- .../mobile/services/ui/AEPMessage.java | 72 ++++++++++--------- 1 file changed, 40 insertions(+), 32 deletions(-) diff --git a/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java b/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java index 3bf8f0abf..a2f651f0a 100644 --- a/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java +++ b/code/core/src/phone/java/com/adobe/marketing/mobile/services/ui/AEPMessage.java @@ -502,37 +502,45 @@ private WebView createWebView() { @SuppressLint("SetJavaScriptEnabled") final Runnable createWebViewRunnable = () -> { - final WebView newWebView = new WebView(getApplicationContext()); - // assign a random resource id to identify this webview - newWebView.setId(Math.abs(new Random().nextInt())); - newWebView.setVerticalScrollBarEnabled(true); - newWebView.setHorizontalScrollBarEnabled(true); - newWebView.setScrollbarFadingEnabled(true); - newWebView.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY); - newWebView.setBackgroundColor(Color.TRANSPARENT); - - webViewClient = new MessageWebViewClient(AEPMessage.this); - webViewClient.setLocalAssetsMap(assetMap); - newWebView.setWebViewClient(webViewClient); - - final WebSettings webviewSettings = newWebView.getSettings(); - webviewSettings.setJavaScriptEnabled(true); - webviewSettings.setAllowFileAccess(false); - webviewSettings.setDomStorageEnabled(true); - webviewSettings.setLayoutAlgorithm(WebSettings.LayoutAlgorithm.NORMAL); - webviewSettings.setDefaultTextEncodingName(UTF_8); - - // Disallow need for a user gesture to play media. - webviewSettings.setMediaPlaybackRequiresUserGesture(false); - - if (ServiceProvider.getInstance() - .getDeviceInfoService() - .getApplicationCacheDir() - != null) { - webviewSettings.setDatabaseEnabled(true); - } + try { + final WebView newWebView = new WebView(getApplicationContext()); + // assign a random resource id to identify this webview + newWebView.setId(Math.abs(new Random().nextInt())); + newWebView.setVerticalScrollBarEnabled(true); + newWebView.setHorizontalScrollBarEnabled(true); + newWebView.setScrollbarFadingEnabled(true); + newWebView.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY); + newWebView.setBackgroundColor(Color.TRANSPARENT); + + webViewClient = new MessageWebViewClient(AEPMessage.this); + webViewClient.setLocalAssetsMap(assetMap); + newWebView.setWebViewClient(webViewClient); + + final WebSettings webviewSettings = newWebView.getSettings(); + webviewSettings.setJavaScriptEnabled(true); + webviewSettings.setAllowFileAccess(false); + webviewSettings.setDomStorageEnabled(true); + webviewSettings.setLayoutAlgorithm(WebSettings.LayoutAlgorithm.NORMAL); + webviewSettings.setDefaultTextEncodingName(UTF_8); + + // Disallow need for a user gesture to play media. + webviewSettings.setMediaPlaybackRequiresUserGesture(false); + + if (ServiceProvider.getInstance() + .getDeviceInfoService() + .getApplicationCacheDir() + != null) { + webviewSettings.setDatabaseEnabled(true); + } - webViewAtomicReference.set(newWebView); + webViewAtomicReference.set(newWebView); + } catch (Exception ex) { + Log.warning( + ServiceConstants.LOG_TAG, + TAG, + "Exception thrown inside of createWebViewRunnable: %s", + ex.getLocalizedMessage()); + } }; final RunnableFuture createWebviewTask = @@ -544,11 +552,11 @@ private WebView createWebView() { createWebviewTask.get(1, TimeUnit.SECONDS); return webViewAtomicReference.get(); } catch (final InterruptedException | ExecutionException | TimeoutException exception) { - Log.debug( + Log.warning( ServiceConstants.LOG_TAG, TAG, "Exception occurred when creating the webview: %s", - exception.getLocalizedMessage()); + exception.getMessage()); createWebviewTask.cancel(true); return null; } From e3a2a6fe849fd60ab78ee8e5ad6c00a7f1643eee Mon Sep 17 00:00:00 2001 From: praveek Date: Wed, 13 Dec 2023 00:23:38 +0000 Subject: [PATCH 7/7] Update versions [Core-2.6.1] --- .../java/com/adobe/marketing/mobile/internal/CoreConstants.kt | 2 +- .../src/test/java/com/adobe/marketing/mobile/MobileCoreTests.kt | 2 +- .../internal/configuration/ConfigurationExtensionTests.kt | 2 +- code/gradle.properties | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/core/src/main/java/com/adobe/marketing/mobile/internal/CoreConstants.kt b/code/core/src/main/java/com/adobe/marketing/mobile/internal/CoreConstants.kt index f85bfddd9..067c3f56c 100644 --- a/code/core/src/main/java/com/adobe/marketing/mobile/internal/CoreConstants.kt +++ b/code/core/src/main/java/com/adobe/marketing/mobile/internal/CoreConstants.kt @@ -13,7 +13,7 @@ package com.adobe.marketing.mobile.internal internal object CoreConstants { const val LOG_TAG = "MobileCore" - const val VERSION = "2.6.0" + const val VERSION = "2.6.1" object EventDataKeys { /** diff --git a/code/core/src/test/java/com/adobe/marketing/mobile/MobileCoreTests.kt b/code/core/src/test/java/com/adobe/marketing/mobile/MobileCoreTests.kt index 29433c050..33a705275 100644 --- a/code/core/src/test/java/com/adobe/marketing/mobile/MobileCoreTests.kt +++ b/code/core/src/test/java/com/adobe/marketing/mobile/MobileCoreTests.kt @@ -35,7 +35,7 @@ import kotlin.test.assertTrue @RunWith(MockitoJUnitRunner.Silent::class) class MobileCoreTests { - private var EXTENSION_VERSION = "2.6.0" + private var EXTENSION_VERSION = "2.6.1" @Mock private lateinit var mockedEventHub: EventHub diff --git a/code/core/src/test/java/com/adobe/marketing/mobile/internal/configuration/ConfigurationExtensionTests.kt b/code/core/src/test/java/com/adobe/marketing/mobile/internal/configuration/ConfigurationExtensionTests.kt index 8cfe145a2..3bf66bac7 100644 --- a/code/core/src/test/java/com/adobe/marketing/mobile/internal/configuration/ConfigurationExtensionTests.kt +++ b/code/core/src/test/java/com/adobe/marketing/mobile/internal/configuration/ConfigurationExtensionTests.kt @@ -60,7 +60,7 @@ import kotlin.test.assertTrue @RunWith(MockitoJUnitRunner.Silent::class) class ConfigurationExtensionTests { - private var EXTENSION_VERSION = "2.6.0" + private var EXTENSION_VERSION = "2.6.1" @Mock private lateinit var mockServiceProvider: ServiceProvider diff --git a/code/gradle.properties b/code/gradle.properties index ab8f6d40f..f52513875 100644 --- a/code/gradle.properties +++ b/code/gradle.properties @@ -6,7 +6,7 @@ android.useAndroidX=true # #Maven artifacts #Core extension -coreExtensionVersion=2.6.0 +coreExtensionVersion=2.6.1 coreExtensionName=core coreExtensionAARName=core-phone-release.aar coreMavenRepoName=AdobeMobileCoreSdk