[Bug] Native Examples Not Working/Appearing
Describe the bug
The various examples at https://github.com/storybookjs/native#examples do not work, namely the storybook examples at the following urls: https://storybookjs.github.io/native/@storybook/native-ios-example-deep-link/index.html?path=/story/button--example https://storybookjs.github.io/native/@storybook/native-controls-example/index.html?path=/story/button--example https://storybookjs.github.io/native/@storybook/native-cross-platform-example/index.html?path=/story/android--button https://storybookjs.github.io/native/@storybook/native-flutter-example/index.html?path=/story/android--button
If I follow the link to static examples, those don't seem to work either. For example, this link sends me to a non-functioning storybook: https://storybookjs.github.io/native/@storybook/native-ios-example-deep-link/index.html?path=/story/button--example
Presumably the path is incomplete?
Steps to reproduce the behavior
- Go to any of the links above
- See "App not found, please verify URL" errors
Expected behavior
I expected to see a storybook with an integrated appetize build.
Screenshots and/or logs
Environment
- OS: mac, 12.4
- Node.js version: v18.6.0
- NPM version: 8.13.2
- Browser (if applicable): chrome
- Browser version (if applicable): Version 103.0.5060.134 (Official Build) (x86_64)
- Device (if applicable): macbook pro
I tried setting it up for android app development. But no luck too. Would love to hear anyone has managed to setup and run those examples.
same problem here 🤔
oh finally got it, before running yarn start you need to tell the framework to use a local simulator by running the following command
export STORYBOOK_NATIVE_LOCAL_EMULATOR="true"
note that you need to have a running simulator before starting server
@marcosmko does using the STORYBOOK_NATIVE_LOCAL_EMULATOR env var bypass the need to upload the app to Appetize?