google / flexbox-layout

Flexbox for Android
Apache License 2.0
18.25k stars 1.79k forks source link

Update your Play Core Maven dependency to an Android 14 compatible version! #640

Open Paget96 opened 3 months ago

Paget96 commented 3 months ago

Issues and steps to reproduce

Update com.google.android.play Jun 18, 2024 18:16 com.google.android.play:core has added this note for core:1.3.2:

Update your Play Core Maven dependency to an Android 14 compatible version! Your current Play Core library is incompatible with targetSdkVersion 34 (Android 14), which introduces a backwards-incompatible change to broadcast receivers to improve user security. As a reminder, from August 31, Google Play requires all new app releases to target Android 14. Update to the latest Play Core library version dependency to avoid app crashes: https://developer.android.com/guide/playcore#playcore-migration

You may not be able to release future versions of your app with this SDK version to production or open testing.

Version of the flexbox library

3.0.0

So, this lib needs an update, definitely.

premkumarmistry commented 3 months ago

Replace with implementation 'com.google.android.play:asset-delivery:2.2.2' implementation 'com.google.android.play:app-update:2.1.0' implementation 'com.google.android.gms:play-services-tasks:18.2.0'

Paget96 commented 3 months ago

Replace with implementation 'com.google.android.play:asset-delivery:2.2.2' implementation 'com.google.android.play:app-update:2.1.0' implementation 'com.google.android.gms:play-services-tasks:18.2.0'

I know, I just meant to make it official. At the moment I have pulled the lib and integrated into the app

tahiriabdo131 commented 2 months ago

What about the other two librarires : implementation com.google.android.play:review:2.0.1 implementation com.google.android.play:feature-delivery:2.1.0

we can add them also ?

amantarento commented 1 month ago

still i am getting this issue @premkumarmistry
implementation 'com.google.android.play:asset-delivery:2.2.2' implementation 'com.google.android.play:app-update:2.1.0' implementation 'com.google.android.gms:play-services-tasks:18.2.0' even after using this one .

SaiGaneshRachamadugu commented 3 weeks ago

@Paget96, @premkumarmistry still getting the error even after updating

premkumarmistry commented 2 weeks ago

@Paget96 @SaiGaneshRachamadugu @amantarento @tahiriabdo131 Please update the dependencies and SDK versions as follows:

  1. Update targetSdkVersion to 34.
  2. Set minSdkVersion to either 21 or 26 (whichever is appropriate for the project).
  3. The updated dependencies should be:

implementation 'com.google.android.play:asset-delivery:2.2.2'
implementation 'com.google.android.play:app-update:2.1.0'
implementation 'com.google.android.gms:play-services-tasks:18.2.0'
implementation 'com.google.android.play:review:2.0.1'