Shai
11/21/2024, 10:28 PM' ERROR Warning: TypeError: Cannot read property 'useVapi' of undefined'
this is how I'm importing useVapi
import useVapi, { CALL_STATUS } from '../../hooks/useVapi';
I copied the hook directly from the bare react native cli example, followed the same pattern to import instantiate an instance new Vapi()
Created a view to connect and display messages and getting a bunch of errors.
I have followed the instructions ito installing dependencies, running pod install, adding the things to info.plist, etc.
Curious if anyone has been able to get the sdk working in a react native project? any other examples?Shai
11/21/2024, 11:40 PMnew NativeEventEmitter() requires a non-null argument., js engine: hermes [Component Stack]
ERROR Warning: TypeError: Cannot read property 'RootStack' of undefined
It disappears when I comment out the useVapiShubham Bajaj
11/23/2024, 2:21 PMShai
11/28/2024, 9:11 PMShubham Bajaj
11/29/2024, 3:48 PM