This repository is deprecated and no longer actively maintained. It contains outdated code examples or practices that do not align with current MongoDB best practices. While the repository remains accessible for reference purposes, we strongly discourage its use in production environments. Users should be aware that this repository will not receive any further updates, bug fixes, or security patches. This code may expose you to security vulnerabilities, compatibility issues with current MongoDB versions, and potential performance problems. Any implementation based on this repository is at the user's own risk. For up-to-date resources, please refer to the MongoDB Developer Center.
Capacitor Demo app
- Install and configure iOS Native SDKs. See the Capacitor environment guide here
- Install and configure Android Native SKD. See the Capacitor environment guide here
- Clone the project
- run
npm install
- Run a build of the React app:
npm run build - Sync the native project and web project:
npx cap sync ios - Open native project:
npx cap open ios - Build and deploy to a simulator or native device. Details can be found here
- Run a build of the React app:
npm run build - Sync the native project and web project:
npx cap sync android - Open native project:
npx cap open android - Build and deploy to a simulator or native device. Details can be found here