Skip to content

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

@MehdiRazaNaqvi

Description

@MehdiRazaNaqvi

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions