How to use moralis SDK correctly in React Native?

Hi, i want to log in with Moralis in React Native, but the following code has an error

import { useMoralis } from "react-moralis";

error message:

error: Error: Unable to resolve module crypto from /Users/macbookpro/reactnative/node_modules/swarm-js/node_modules/eth-lib/lib/bytes.js: crypto could not be found within the project or in these directories:

I have done according to the forum, but the error is still there
Do you have any good suggestions?