Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

mongodb-developer/native-sample-react

 
 

Repository files navigation

Notice: Repository Deprecation

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

Setup

  • 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

Building iOS

  • 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

Building Android

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 46.3%
  • CSS 26.4%
  • Swift 13.8%
  • Java 7.2%
  • HTML 3.4%
  • Ruby 1.7%
  • Other 1.2%