Open victor-chan-groundswell opened 6 months ago
I'm facing a similar issue when upgrading to RN 0.73.4 as part of upgrading a managed expo app to SDK 50. I was able to fix the BuildConfig
issue by adding the lines to this package's android/build.gradle
android {
// existing code
buildFeatures {
buildConfig = true
}
// existing code
}
the languageVersion
error went away after I regenerated the android
directory with expo prebuild --no-install --clean -p android
this patch worked for me -> https://github.com/amplitude/Amplitude-TypeScript/pull/617
That patch #617 is not working for me :(
Same issue here. Any update?? The patch is not working for me too
It seems that, when running react native 0.73.4, along with building with gradle 8, I ran into this error message.
A problem occurred configuring project ':amplitude_analytics-react-native'.
So I went ahead and went down the rabbit hole and looked up a way to enable this.... https://stackoverflow.com/questions/74634321/fixing-the-build-type-contains-custom-buildconfig-fields-but-the-feature-is-di
When I do that, however, then it craps out where on the react native side, with the following error:
A problem occurred evaluating project ':app'.
I have already flagged this issue on the react-native github, but I'm not sure whether this needs to be looked at on this end or react-natives... either way it does not build correctly.
https://github.com/facebook/react-native/issues/41580