-
Notifications
You must be signed in to change notification settings - Fork 40
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
Fails to build on RN 0.76 #901
Comments
I am facing the same issue only in Android but with RN 0.73.6
|
This is on Kotlin SDK, here is a proposal to fix it: amplitude/Amplitude-Kotlin#228 |
The RN SDK does not use the kotlin SDK underneath. This is the file that needs to be changed But I wonder why its failing now though? Its been like this for a long time. Do y'all use a stricter type checking that makes this fail? |
@izaaz Ah, good point, we'll have to patch this version with the fix then. This issue has only existed since version 0.76 of RN, probably due to a change in compatibility with Kotlin |
any update on this change getting added please? |
It seems surprising that Amplitude isn't being very responsive about their React Native SDK (this issue, new architecture...) This appears particularly noteworthy given React Native's growing popularity among major apps and companies. |
++ |
Apologies for the delay folks. Here's the PR. It looks like this issue only happens when the compileSdk version is set to 35. |
@huextrat - Thanks for the fix on the kotlin SDK too. It starts throwing an error when I set the compile SDK version to 35 so i'll merge that PR as well. |
@johnf can you please try version 1.4.11? |
@izaaz looks good |
Expected Behavior
Package should build succesfully
Current Behavior
Possible Solution
Steps to Reproduce
Standard steps to add @amplitude/analytics-react-native to your project
Environment
Other
As a side note is this package built from this repo? I tried to do a PR but the file in question doesn't exist
The text was updated successfully, but these errors were encountered: