Back to All

TypeError: Cannot read properties of undefined (reading 'isUserLogIn')

Hi, am using react native:0.63.4 version in my project. I followed the react-native SDK document from this link, for your Reference  (https://docs.applozic.com/docs/react-native-chat-sdk), I completed all the steps and while running the app got an error undefined ApplozicChat  and all the Applozic functions 

Errors

  1. TypeError: Cannot read properties of undefined (reading 'ApplozicChat')
  2. TypeError: Cannot read properties of undefined (reading 'isUserLogIn')
  3. TypeError: Cannot read properties of undefined (reading 'LogIn')
  4. TypeError: Cannot read properties of undefined (reading 'openChat')
  5. TypeError: Cannot read properties of undefined (reading 'Logout')