-
Notifications
You must be signed in to change notification settings - Fork 593
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
Feature Request: New Architecture Support #537
Comments
No immediate plans to support the new Architecture. We welcome any PRs that might add support for it though. |
maybe you can adapt this module through this @perqa |
@parz1 I tried doing that but the screen just becomes black. No crash but no success either. module.exports = {
dependencies: {
...
},
project: {
ios: {
sourceDir: "./ios",
unstable_reactLegacyComponentNames: ["CKCamera"],
},
android: {
unstable_reactLegacyComponentNames: ["CKCameraManager"],
},
},
assets: ["./assets/fonts/"],
}; Maybe I'm doing something wrong in here? |
Make sure you prompt for permissions. Otherwise screen shows as black. |
I implemented the library, but still got a black screen. What other reasons can be there for a black screen? This black screen issue is particularly in iOS (android works fine with new arch) |
Check the native logs to see what the issue is. With Xcode compilation you can see it in the console. There should be some sort of log statement. |
If I do bundle install && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install The Xcode logs have {fabric: true} flag when running the second one. unstable_reactLegacyComponentNames: ["CKCamera"], and include more components which we have in iOS? |
The same issue for me when I tried: unstable_reactLegacyComponentNames: ["CKCamera"], |
The same issue for me:
For me the bug doesn't happen on iOS, but on Android it shows that the component is not supported in fabric mode, my app has all the libraries configured for fabric mode, going back is impossible for me |
Hey, we at Software Mansion have been working on improving support for the new architecture for quite a while and we would like to help with migrating this library. Are you open to PRs? |
Yes |
Hey! I submitted the PR with New Architecture here: #672 🎉 |
Feature Request: New Architecture Support
Hello,
I'm wondering if someone is looking into migrating React Native Camera Kit to use Fabric (i.e. the React Native New Architecture).
I'm opening this issue to understand what's the current status of this.
I saw that someone opened a ticket on a specific module here , but I'm after a more general reply.
Why it is needed
Originally requested here
Code sample
Not a real code sample, but contains a sample of a library that is backward compatible with both the old and the new arch of React Native.
The text was updated successfully, but these errors were encountered: