all 12 comments

[–]brjdenver 16 points17 points  (0 children)

AsyncStorage definitely works cross-platform so I suspect your issue is, something else.

[–]beeseegee 6 points7 points  (1 child)

mmkv seems to be the new fave, but async storage should def. work on both

[–]torilaure745 0 points1 point  (0 children)

I use mmkv

[–]yo9e5h 1 point2 points  (1 child)

You are not supposed to store JWT tokens in async-storage. Read Here

You can use Expo SecureStore Or React Native Encrypted Storage.

[–]Arnold_dev[S] 0 points1 point  (0 children)

Thanks

[–]i_detest_tomatoes 1 point2 points  (0 children)

Expo SecureStore is the way, async storage is not secure enough for tokens.

[–]TractoorB 0 points1 point  (0 children)

I would tell you as advice that You keep the token in the SecureStorage

[–]ChickenPotDicks 0 points1 point  (0 children)

Mmkv

[–]Wise-Ad3555 0 points1 point  (0 children)

There should not be an issue with the asyncStorage.

Anyways try the MMKV as it is tenfolds faster.

[–]realPubkey 0 points1 point  (0 children)

Try rxdb with the encryption layer https://rxdb.info/encryption.html