native
native copied to clipboard
Interact with apps on local emulator by specifying URL to their file
Ideally, create a desktop app associated with a specific URL scheme that would be opened automatically. Useful for CI environments where canary versions of apps can be tested with storybook
Example:
sb-native://app?url=URL_TO_DOWNLOAD_APP
should download the mobile app from the URL query param, open the desktop app, and start storybook
More info:
- The desktop app should either be a web browser, or a normal electron app
- The desktop app needs to be able to communicate with an emulator open on the local machine, or ideally, it should ship with an emulator directly
- This is so that people can view static storybooks without needing to use appetize.io
- The mobile app needs to be installed onto the emulator
WIP branch for this https://github.com/amalik2/native/tree/desktopApp/packages/local-server