You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Install the latest appcenter and appcenter-crashes versions in a React Native 0.75.1 project.
Set the project's minSdkVersion to 21.
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!
The text was updated successfully, but these errors were encountered:
Hello, and thank you for reaching out to us! Starting with React Native 0.75.0, a new minimum Android SDK version of 23 was introduced (refer to the official blog post: React Native 0.75 Release Notes).
I tested this by creating a new React Native application using version 0.75.1 and setting the minimum SDK to 21. The same error occurred. However, when I added AppCenter packages to the dependencies and set the minimum SDK to 23, there were no compatibility issues.
Based on these findings, I believe the issue is not related to AppCenter but rather to the new React Native requirements. After version 0.75.0, it is no longer possible to use a minSdkVersion below 23 in your applications.
Let us know if you have any further questions or concerns!
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 olderminSdkVersion
that conflicts with React Native’s requirements and other library dependencies, such asreact-android
.Reproduction Steps
appcenter
andappcenter-crashes
versions in a React Native 0.75.1 project.minSdkVersion
to 21.Expected Behavior
Expect
appcenter-crashes
,appcenter-analytics
andappcenter
to be compatible withminSdkVersion
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
minSdkVersion
to 23, which solves the error but isn’t ideal for our project requirements.Environment
Additional Context
Updating the
minSdkVersion
in theappcenter
dependencies would improve compatibility with projects using newer React Native versions.Please advise on potential workarounds or updates. Thank you!
The text was updated successfully, but these errors were encountered: