Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mhartington/native-sample-react
https://github.com/mhartington/native-sample-react
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mhartington/native-sample-react
- Owner: mhartington
- Created: 2021-05-04T14:28:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-08T19:36:19.000Z (over 3 years ago)
- Last Synced: 2024-12-07T17:44:15.170Z (20 days ago)
- Language: TypeScript
- Homepage:
- Size: 851 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
Capacitor Demo app
# Setup
- Install and configure iOS Native SDKs. See the Capacitor environment guide [here](https://capacitorjs.com/docs/v3/getting-started/environment-setup#ios-development)
- Install and configure Android Native SKD. See the Capacitor environment guide [here](https://capacitorjs.com/docs/getting-started/environment-setup#android-development)
- 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](https://capacitorjs.com/docs/ios#running-in-xcode)# 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](https://capacitorjs.com/docs/android#running-with-android-studio)