dubloon
v0.0.4
Published
An Expo Config Plugin for embedding a web app inside a React Native (Expo) app.
Downloads
218
Maintainers
Readme
Structure
.
├── plugin # The Expo Config Plugin
└── src # The API for DubloonContributing
Developing the plugin
To develop the plugin (./plugin) code in watch mode:
cd packages/dubloon
npm run dev:plugin
# In a separate terminal, prebuild the Expo iOS and Android apps
cd apps/example
npx expo prebuildI don't normally bother passing the --clean flag to npx expo prebuild because it takes so long to reinstall the CocoaPods; instead, if I ever want to undo any actions, I just manually discard any changes via git source control.
Developing the APIs (/src)
To develop the APIs (./src) code in watch mode:
cd packages/dubloon
npm run dev:module
# In a separate terminal, run the iOS or Android example Expo app
cd apps/example
npm run ios