I have this line in my react native app to stock a variable in AsyncStorage:
AsyncStorage.setItem('userId',theuser.id);
but when I run the app it gives me an error:
TypeError: expected dynamic type string', but had typeint64 react native
It works fine when the variable I want to pass is string but I can't pass any object or int variable?
ida number? It has to be a string.