https://github.com/gasolin/pear-expo
basic setup for react native web (expo) run in pear mobile/desktop
https://github.com/gasolin/pear-expo
Last synced: about 2 months ago
JSON representation
basic setup for react native web (expo) run in pear mobile/desktop
- Host: GitHub
- URL: https://github.com/gasolin/pear-expo
- Owner: gasolin
- Created: 2024-03-06T09:31:08.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-21T08:30:50.000Z (6 months ago)
- Last Synced: 2025-10-13T05:05:14.890Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 128 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-pears - pear-expo - React Native web (Expo) setup for pear desktop (**Awesome Pears π** / Pears)
README
# Pear-Expo
React Native web (Expo) setup for pear desktop
> [!Note]
> in current stage its not include hypercore related example
> [!Note]
> android/ios integration through react-native-bare-kit
## structure
- app/ - [expo](https://docs.expo.dev/) folder, host the main code and can export web UI as `dist/` folder for pear use
- pear/ - [pear](https://docs.pears.com/guides/starting-a-pear-desktop-project) folder
## Setup
1. `cd app && yarn` (or `cd app && npm install`)
## Run on Android or iOS App π±
(Same as expo)
1. from root, run `cd app && npx expo start`
1. press `a` (Android) or `i` (iOS)
----
## Run on Web πΈοΈ
(Same as expo)
1. from root, run `cd app && npx expo start`
1. press `w`
> [!Note]
> `worklet` related code might not work in web mode
> [!Note]
> Can turn the app as [progressive web app](https://docs.expo.dev/guides/progressive-web-apps/) (PWA) for more advanced usage
----
## Run on Pear Desktop App π»
See [pear/README.md](pear/README.md)
## What's next π€οΈ
Can follow [Making a Pear Desktop Application](https://docs.pears.com/guides/making-a-pear-desktop-app) to continue the journey.