alan-sdk-reactnative icon indicating copy to clipboard operation
alan-sdk-reactnative copied to clipboard

requireNativeComponent: "RNTAlanButton" was not found in the UIManager

Open MehdiRazaNaqvi opened this issue 2 years ago • 2 comments

I installed @alan-ai/alan-sdk-react-native for using Alan ai in my expo project. It was fine with the installation but when I imported AlanView from @alan-ai/alan-sdk-react-native and rendered in the home page it gives this error. I am trying but unable to resolve it since 2 days now. I followed https://www.youtube.com/watch?v=ttGfydUvg6A&t=264s exactly as it is in the video but still get the error I am testing it on android version 12 on expo go app as and using the same template as in the video The only thing different from video I did is that I used --legacy-peer-deps for installing @alan-ai/alan-sdk-react-native as it was having dependencies conflicts Here is package.json of my project:

image

The error :

Screenshot_2023-01-20-20-22-54-91_f73b71075b1de7323614b647fe394240

MehdiRazaNaqvi avatar Jan 20 '23 14:01 MehdiRazaNaqvi

We face the same issue in a react native app (not wrapped with expo)

simulator_screenshot_2C26D92D-F500-4152-AFE5-F0C8D231DD34

Any clue or solution to resolve this problem ?

Regards,

aalidrissi avatar Sep 27 '23 08:09 aalidrissi

I am facing this issue too

ItisMoe avatar May 14 '24 23:05 ItisMoe