adobe / aepsdk-sample-app-android

Sample apps demoing how to use AEP Android SDKs
MIT License
7 stars 23 forks source link

Adobe SDK's still using Android Support Libs, Migration to Androidx #24

Closed wezley98 closed 1 year ago

wezley98 commented 2 years ago

Expected Behaviour

Please redirect me if this is not the correct place to report this issue.

We are looking to remove android jetifier as Google will be removing it from future versions of Android Studio but some/if not all of the adobe sdk's are still using the old android support libraries.

We have run the bye-bye-jetifier gradle plugin to identify the plugins which need attention. https://github.com/dipien/bye-bye-jetifier

Migration Guide https://developer.android.com/jetpack/androidx/migrate

Log Output

The following legacy support libraries are detected:
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-annotations:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:assurance:1.0.3 -> com.android.support.constraint:constraint-layout:2.0.4 -> com.android.support:support-compat:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:collections:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:assurance:1.0.3 -> com.android.support.constraint:constraint-layout:2.0.4 -> com.android.support:support-compat:28.0.0 -> android.arch.lifecycle:runtime:1.1.1
debugRuntimeClasspath -> com.adobe.marketing.mobile:assurance:1.0.3 -> com.android.support.constraint:constraint-layout:2.0.4 -> com.android.support:support-compat:28.0.0 -> android.arch.lifecycle:runtime:1.1.1 -> android.arch.lifecycle:common:1.1.1
debugRuntimeClasspath -> com.adobe.marketing.mobile:assurance:1.0.3 -> com.android.support.constraint:constraint-layout:2.0.4 -> com.android.support:support-compat:28.0.0 -> android.arch.lifecycle:runtime:1.1.1 -> android.arch.core:common:1.1.1
debugRuntimeClasspath -> com.adobe.marketing.mobile:assurance:1.0.3 -> com.android.support.constraint:constraint-layout:2.0.4 -> com.android.support:support-compat:28.0.0 -> com.android.support:versionedparcelable:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:cursoradapter:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-core-utils:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-core-utils:28.0.0 -> com.android.support:documentfile:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:loader:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:loader:28.0.0 -> android.arch.lifecycle:livedata:1.1.1
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:loader:28.0.0 -> android.arch.lifecycle:livedata:1.1.1 -> android.arch.core:runtime:1.1.1
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:loader:28.0.0 -> android.arch.lifecycle:livedata:1.1.1 -> android.arch.lifecycle:livedata-core:1.1.1
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> android.arch.lifecycle:viewmodel:1.1.1
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-core-utils:28.0.0 -> com.android.support:localbroadcastmanager:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-core-utils:28.0.0 -> com.android.support:print:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:customview:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:viewpager:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:coordinatorlayout:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:drawerlayout:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:slidingpanelayout:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:interpolator:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:swiperefreshlayout:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:asynclayoutinflater:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-vector-drawable:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:media:2.1.2 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:animated-vector-drawable:28.0.0
debugRuntimeClasspath -> com.adobe.marketing.mobile:assurance:1.0.3 -> com.android.support.constraint:constraint-layout:2.0.4
debugRuntimeClasspath -> com.adobe.marketing.mobile:assurance:1.0.3 -> com.android.support.constraint:constraint-layout:2.0.4 -> com.android.support.constraint:constraint-layout-solver:2.0.4

Scanning com.adobe.marketing.mobile:core:1.9.2
 Absolute path: /Users/xxxxx/.gradle/caches/modules-2/files-2.1/com.adobe.marketing.mobile/core/1.9.2/95c43cdec617d8cf20c9605c37041ce5097fdb20/core-1.9.2.aar
 Graphs to this dependency:
 +---com.adobe.marketing.mobile:edge:1.3.0
     +---com.adobe.marketing.mobile:core:1.9.2
 +---com.adobe.marketing.mobile:media:2.1.2
     +---com.adobe.marketing.mobile:core:1.9.2
 +---com.adobe.marketing.mobile:assurance:1.0.3
     +---com.adobe.marketing.mobile:core:1.9.2
 +---com.adobe.marketing.mobile:edgeidentity:1.0.0
     +---com.adobe.marketing.mobile:core:1.9.2
 +---com.adobe.marketing.mobile:edge:1.3.0
     +---com.adobe.marketing.mobile:edgeidentity:1.0.0
          +---com.adobe.marketing.mobile:core:1.9.2
 +---com.adobe.marketing.mobile:audience:1.1.0
     +---com.adobe.marketing.mobile:core:1.9.2
 +---com.adobe.marketing.mobile:analytics:1.2.9
     +---com.adobe.marketing.mobile:core:1.9.2
 +---com.adobe.marketing.mobile:userprofile:1.1.0
     +---com.adobe.marketing.mobile:core:1.9.2
 +---com.adobe.marketing.mobile:sdk-core:1.9.2
     +---com.adobe.marketing.mobile:core:1.9.2
 +---com.adobe.marketing.mobile:sdk-core:1.9.2
     +---com.adobe.marketing.mobile:signal:1.0.4
          +---com.adobe.marketing.mobile:core:1.9.2
 +---com.adobe.marketing.mobile:sdk-core:1.9.2
     +---com.adobe.marketing.mobile:identity:1.2.2
          +---com.adobe.marketing.mobile:core:1.9.2
 +---com.adobe.marketing.mobile:sdk-core:1.9.2
     +---com.adobe.marketing.mobile:lifecycle:1.1.0
          +---com.adobe.marketing.mobile:core:1.9.2
 Issues found:
 * com/adobe/marketing/mobile/LocalNotificationHandler.class -> android.support.v4.app.NotificationCompat$Builder
 * com/adobe/marketing/mobile/LocalNotificationHandler.class -> android.support.v4.app.NotificationCompat$Style
 * com/adobe/marketing/mobile/LocalNotificationHandler.class -> android.support.v4.app.NotificationCompat$BigTextStyle

Scanning com.adobe.marketing.mobile:media:2.1.2
 Absolute path: /Users/xxxxxx/.gradle/caches/modules-2/files-2.1/com.adobe.marketing.mobile/media/2.1.2/d32556670d348e444c41ab57ccbd372ed53cd4c5/media-2.1.2.aar
 Graphs to this dependency:
 +---com.adobe.marketing.mobile:media:2.1.2
 Issues found:
 * pom -> com.android.support:appcompat-v7:28.0.0
 * pom -> com.android.support:appcompat-v7:28.0.0

Scanning com.adobe.marketing.mobile:assurance:1.0.3
 Absolute path: /Users/xxxxxx/.gradle/caches/modules-2/files-2.1/com.adobe.marketing.mobile/assurance/1.0.3/439f698c2c28dd3d4e2ebb7aaae1491c6d50d139/assurance-1.0.3.aar
 Graphs to this dependency:
 +---com.adobe.marketing.mobile:assurance:1.0.3
 Issues found:
 * com/adobe/marketing/mobile/AssuranceClientInfo.class -> android/support/v4/app/ActivityCompat
 * com/adobe/marketing/mobile/AssuranceErrorDisplayActivity.class -> android/support/v7/app/AppCompatActivity
 * com/adobe/marketing/mobile/AssuranceFloatingButtonView.class -> android/support/v4/content/ContextCompat
 * res/layout/activity_assurance_error_display.xml -> android.support.constraint.ConstraintLayout
 * pom -> com.android.support.constraint:constraint-layout:2.0.4
 * pom -> com.android.support:appcompat-v7:28.0.0
 * pom -> com.android.support.constraint:constraint-layout:2.0.4
 * pom -> com.android.support:appcompat-v7:28.0.0

Platform and Version

    const val ADOBE_EDGE = "com.adobe.marketing.mobile:edge:1.3.0"
    const val ADOBE_MEDIA = "com.adobe.marketing.mobile:media:2.1.2"
    const val ADOBE_ASSURANCE = "com.adobe.marketing.mobile:assurance:1.0.3"
    const val ADOBE_EDGE_IDENTITY = "com.adobe.marketing.mobile:edgeidentity:1.0.0"
    const val ADOBE_AUDIENCE = "com.adobe.marketing.mobile:audience:1.1.0"
    const val ADOBE_ANALYTICS = "com.adobe.marketing.mobile:analytics:1.2.9"
    const val ADOBE_USER_PROFILE = "com.adobe.marketing.mobile:userprofile:1.1.0"
    const val ADOBE_SDK = "com.adobe.marketing.mobile:sdk-core:1.9.2"
spoorthipujariadobe commented 1 year ago

Duplicate https://github.com/Adobe-Marketing-Cloud/acp-sdks/issues/602 @wezley98 please refer to the linked issue to track when AndroidX support will be available on AEP Android SDKs