teslamotors / react-native-camera-kit

A high performance, easy to use, rock solid camera library for React Native apps.
MIT License
2.49k stars 590 forks source link

New architecture support ? Unimplemented component : <CKCamera> #512

Open aurelienmartin opened 1 year ago

aurelienmartin commented 1 year ago

Describe the bug Hi everyone, Happy New Year 2023 !

I wanted to use the library with the latest version of React-Native 0.70.6 with Fabric support but it seems that it is not functional on the new architecture.

Using the CameraScreen component displays the following message on the iOS GUI Unimplemented component : <CKCamera>

Can you confirm that this is not an error on my part and if you plan to make this library compatible with the new React-Native architecture soon ?

Thank you ;)

Aurélien

To Reproduce Steps to reproduce the behavior:

  1. Use React Native 0.70.6 with Fabric "RCT_NEW_ARCH_ENABLED=1 pod install"
  2. See error in GUI

Screenshots Simulator Screen Shot - iPhone 14 Pro - 2023-01-02 at 10 53 35

Smartphone (please complete the following information):

maazshaikh1711 commented 1 year ago

Hi @aurelienmartin, I was also facing the same issue on running "RCT_NEW_ARCH_ENABLED=1 pod install". I think it is not an error on our part.

Did you find any solution for the same?

Till then I just disabled the new Architecture and installed pods by running following command: RCT_NEW_ARCH_ENABLED=0 pod install

aurelienmartin commented 1 year ago

Hi @maazshaikh1711 ,

I used the same workaround as your proposal.

I think we will have to be patient while waiting for the community around this lib to support the new React-Native architecture.

Thanks for trying.

Aurélien

perqa commented 1 year ago

Any updates on this?

auliakbarh commented 4 days ago

Hi @aurelienmartin, I was also facing the same issue on running "RCT_NEW_ARCH_ENABLED=1 pod install". I think it is not an error on our part.

Did you find any solution for the same?

Till then I just disabled the new Architecture and installed pods by running following command: RCT_NEW_ARCH_ENABLED=0 pod install

Disabling the new architecture somehow solves this problem, but my app crashes on the iOS archive build. Does this also happen to you?