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

uses-sdk:minSdkVersion 21 cannot be smaller than version 23 declared in library [com.facebook.react:react-android:0.75.1] #2645

Open
maaliHasan opened this issue Nov 10, 2024 · 0 comments
Labels
feature request New feature request

Comments

@maaliHasan
Copy link

Description

We are experiencing compatibility issues when integrating appcenter-crashes with a recent version of React Native (0.75.1). Specifically, the library is enforcing an older minSdkVersion that conflicts with React Native’s requirements and other library dependencies, such as react-android.

Reproduction Steps

  1. Install the latest appcenter and appcenter-crashes versions in a React Native 0.75.1 project.
  2. Set the project's minSdkVersion to 21.
  3. Attempt to build the project, resulting in the following error:

Expected Behavior

Expect appcenter-crashes, appcenter-analytics and appcenter to be compatible with minSdkVersion 21 or otherwise clearly document the compatibility requirements.

Current Behavior

The project fails to build due to the minSdkVersion conflict, even after setting the AppCenter libraries to the latest available versions.

Workaround Attempts

  • We tried setting the minSdkVersion to 23, which solves the error but isn’t ideal for our project requirements.
  • We verified that the error persists after cleaning caches and reinstalling dependencies.

Environment

  • React Native: 0.75.1
  • AppCenter: [latest version used 5.0.2]
  • Android minSdkVersion: 21

Additional Context

Updating the minSdkVersion in the appcenter dependencies would improve compatibility with projects using newer React Native versions.

Please advise on potential workarounds or updates. Thank you!

@maaliHasan maaliHasan added the feature request New feature request label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request
Projects
None yet
Development

No branches or pull requests

1 participant