alan-ai / alan-sdk-reactnative

Conversational AI SDK for React Native to enable text and voice conversations with actions (iOS and Android)
https://alan.app/
591 stars 16 forks source link

requireNativeComponent: "RNTAlanButton" was not found in the UIManager #25

Open MehdiRazaNaqvi opened 1 year ago

MehdiRazaNaqvi commented 1 year ago

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

aalidrissi commented 11 months ago

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,

ItisMoe commented 4 months ago

I am facing this issue too