Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gasolin/pear-expo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 folder, host the main code and can export web UI as dist/ folder for pear use
  • pear/ - pear 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
  2. press a (Android) or i (iOS)

Run on Web 🕸️

(Same as expo)

  1. from root, run cd app && npx expo start
  2. press w

Note

worklet related code might not work in web mode

Note

Can turn the app as progressive web app (PWA) for more advanced usage


Run on Pear Desktop App 💻

See pear/README.md

What's next 🛤️

Can follow Making a Pear Desktop Application to continue the journey.

About

basic setup for react native web (expo) run in pear mobile/desktop

Resources

Stars

Watchers

Forks