TypeError, evaluating 'p.localStorage.get', its undefined when using getLoggedinUser() REAC-NATIVE

I’m getting this error when calling for CometChat.getLoggedinUser().

{"message": "undefined is not an object (evaluating 'p.localStorage.get')", "name": "TypeError"}

Therefore, I’m not being able to retrieve essential information.

Hello @JoseChavez98,

Can you please let us know the CometChat React Native SDK you are using? It looks like you are using an older version. Can you please update to the latest SDK v2.3.1 and let us know if you are still facing this issue?

Warm Regards,
CometChat Pro
Mayur Bhandari

Hello @JoseChavez98,

We are closing this ticket due to inactivity.

For more technical assistance, please feel free to create a new ticket or write to us at help@cometchat.com.

Regards,
Provesha