S
S
symnoob2019-02-24 17:34:49
React Native
symnoob, 2019-02-24 17:34:49

How to solve the Authorization problem in React Native?

Hello everyone, today I got acquainted with react-nativ.
I immediately wanted to write something.
or rather REST-API Client application on Android.
I thought it would work like this, a person logs in, receives a token. and this token could be stored in AsyncStorage.
but there are two things in the documentation that confuse me a little.
1. the information is kept in clear text
2. and what is the strangest thing, this method is not advised by the documentation itself :-)
who has experience, who can tell?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nick, 2019-02-25
@symnoob

I would not store such data in AsyncStorage, for this there is a react native keychain and similar libraries

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question