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

🐛 3.9.2 fails to compile on react-native 0.75.4 due to Kotlin error #3238

Closed
3 of 5 tasks
tibbe opened this issue Oct 11, 2024 · 2 comments
Closed
3 of 5 tasks

🐛 3.9.2 fails to compile on react-native 0.75.4 due to Kotlin error #3238

tibbe opened this issue Oct 11, 2024 · 2 comments
Labels
🐛 bug Something isn't working

Comments

@tibbe
Copy link

tibbe commented Oct 11, 2024

What's happening?

I tried to upgrade our app, which uses 3.9.2, to react-native 0.75.4 and got this compilation error when running yarn run android:

e: file:///Users/tibbe/work/benetics/app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/frameprocessor/VisionCameraProxy.kt:31:79 This API is provided only for React Native frameworks and not intended for general users. This API can change between minor versions in alignment with React Native frameworks and won't be considered a breaking change.

Perhaps there's a compilation flag turned on that converts warnings to errors?

Reproduceable Code

N/A

Relevant log output

e: file:///Users/tibbe/work/benetics/app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/frameprocessor/VisionCameraProxy.kt:31:79 This API is provided only for React Native frameworks and not intended for general users. This API can change between minor versions in alignment with React Native frameworks and won't be considered a breaking change.
e: file:///Users/tibbe/work/benetics/app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/frameprocessor/VisionCameraProxy.kt:36:19 This API is provided only for React Native frameworks and not intended for general users. This API can change between minor versions in alignment with React Native frameworks and won't be considered a breaking change.
e: file:///Users/tibbe/work/benetics/app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/frameprocessor/VisionCameraProxy.kt:36:47 This API is provided only for React Native frameworks and not intended for general users. This API can change between minor versions in alignment with React Native frameworks and won't be considered a breaking change.
e: file:///Users/tibbe/work/benetics/app/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/frameprocessor/VisionCameraProxy.kt:72:73 This API is provided only for React Native frameworks and not intended for general users. This API can change between minor versions in alignment with React Native frameworks and won't be considered a breaking change.

Camera Device

N/A

Device

N/A

VisionCamera Version

3.9.2

Can you reproduce this issue in the VisionCamera Example app?

I didn't try (⚠️ your issue might get ignored & closed if you don't try this)

Additional information

@tibbe tibbe added the 🐛 bug Something isn't working label Oct 11, 2024
@maintenance-hans maintenance-hans bot changed the title 🐛3.9.2 fails to compile on react-native 0.75.4 due to Kotlin error 🐛 3.9.2 fails to compile on react-native 0.75.4 due to Kotlin error Oct 11, 2024
Copy link

Guten Tag, Hans here 🍻

Thanks for your report! It looks like you are facing a Kotlin compilation error after upgrading to React Native 0.75.4. However, to better assist you, could you please provide the complete build logs from your Android Studio or the output from adb logcat? This extra information will help mrousavy investigate the issue more effectively.

Also, I encourage you to try running the VisionCamera Example app to see if you can reproduce the issue there. This could provide valuable insights.

If you like ze project, consider sponsoring it here to help keep things going!

Note: If you think I made a mistake, please ping @mrousavy to take a look.

@tibbe
Copy link
Author

tibbe commented Oct 11, 2024

Closing in favor of #2614.

@tibbe tibbe closed this as not planned Won't fix, can't repro, duplicate, stale Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant