In the next lecture, we'll use the AsyncStorage object for storing and retrieving our token on the device.

The import path changed, so instead of importing AsyncStorage as shown in the next lecture, install + import it like this:

Make sure you install the package first:

expo install @react-native-async-storage/async-storage

And then import it like this:

import AsyncStorage from '@react-native-async-storage/async-storage';

Importing like this, WON'T work anymore:

import { AsyncStorage } from 'react-native'; // don't use that