Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update your com.google.android.play:core:1.10.3 on 1.38.8 #2889

Closed
1 task done
NANAIPRM opened this issue Aug 7, 2024 · 4 comments
Closed
1 task done

Update your com.google.android.play:core:1.10.3 on 1.38.8 #2889

NANAIPRM opened this issue Aug 7, 2024 · 4 comments
Labels
question General question

Comments

@NANAIPRM
Copy link

NANAIPRM commented Aug 7, 2024

Before opening, please confirm:

Language and Async Model

Kotlin

Amplify Categories

Authentication

Gradle script dependencies

implementation 'com.amplifyframework:core:1.38.8'
implementation 'com.amplifyframework:aws-auth-cognito:1.38.8'
implementation 'com.amplifyframework:rxbindings:1.38.8'

Environment information

# Put output below this line


Please include any relevant guides or documentation you're referencing

No response

Describe the bug

Update your com.google.android.play:core:1.10.3 Maven dependency to an Android 14 compatible version! Your current com.google.android.play:core:1.10.3 library is incompatible with targetSdkVersion 34 (Android 14), which introduces a backwards-incompatible change to broadcast receivers. As a reminder, from August 31, 2024, Google Play requires all new app releases to target Android 14. Update to the latest library version dependency to avoid app crashes.


how to fix on it

Reproduction steps (if applicable)

No response

Code Snippet

// Put your code below this line.

Log output

// Put your logs below this line


amplifyconfiguration.json

No response

GraphQL Schema

// Put your schema below this line

Additional information and screenshots

No response

@github-actions github-actions bot added the pending-triage Issue is pending triage label Aug 7, 2024
@tylerjroach
Copy link
Member

@NANAIPRM

Amplify Android v1 is deprecated as of June 1st, 2024. No new features or bug fixes will be added. Dependencies may become outdated and potentially introduce compatibility issues.

Please use the latest version (v2) of Amplify Library for Android to get started. Refer to the upgrade guide for instructions on upgrading your application to the latest version.

@tylerjroach tylerjroach added question General question and removed pending-triage Issue is pending triage labels Aug 7, 2024
@pauledwardtang
Copy link

@NANAIPRM I had a similar issue, but for com.google.android.play:core:1.9.1. After updating (yes updating) to 1.37.10, that made the problem go away.

The problematic transitive dependency was removed in #2131.

I ran this command to find it:

./gradlew app:dependencyInsight --configuration [VARIANT]RuntimeClasspath --dependency com.google.android.play:core
com.google.android.play:core:1.9.1
\--- androidx.navigation:navigation-dynamic-features-runtime:2.3.4
     \--- androidx.navigation:navigation-dynamic-features-fragment:2.3.4
          \--- com.amplifyframework:core:1.35.1

We aren't using the rxbindings dependency, so maybe there is another dependency in that library (doubtful) or a release after 1.37.10 reintroduced the play core dependency. Have you tried the dependencyInsight gradle command?

@github-actions github-actions bot added the pending-maintainer-response Issue is pending response from an Amplify team member label Aug 23, 2024
@tylerjroach tylerjroach removed the pending-maintainer-response Issue is pending response from an Amplify team member label Aug 23, 2024
@tylerjroach
Copy link
Member

Please feel free to continue community discussions. I will be closing this ticket, however, since Amplify v1 is no longer supported.

Copy link
Contributor

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General question
Projects
None yet
Development

No branches or pull requests

3 participants