@web3modal packages to the new @reown/appkit packages in your React Native project.
- Wagmi
- Ethers
Step 1. Replace the dependencies in your code and Step 3. Update your Hooks usage
Update your hook imports as follows:Step 4. Update your Components usage
Update your component imports as follows:Step 5. Update your config for Universal Wallets
Update email wallet specific imports as follows:Step 6. Update your import to support Coinbase Wallet
Update coinbase connector import as follows:
package.json- Run
yarn installafter replacing the packages
Final notes
- Ensure that you have updated all relevant configurations and imports in your project to reflect the changes from Web3Modal to AppKit.
- Test your application thoroughly to ensure that the migration has been successful and that all functionality is working as expected.
- Check our AppKit example for React Native to compare with your implementation in case you are having issues