storybookjs / native

📱 Storybook for Native: iOS, Android, Flutter
MIT License
186 stars 28 forks source link

Support for SauceLabs Live #62

Open jgornick opened 3 years ago

jgornick commented 3 years ago

Because SauceLabs Live supports mobile devices in the browser (similar to appetize), is it possible to integrate with Storybook Native?

amalik2 commented 3 years ago

Hey @jgornick, I'm not familiar at all with SauceLabs Live but this is definitely possible as long as it provides you a public API key that can be used to access your mobile app somehow.

To support this, there needs to be a new SauceLabs Live controller that is similar to the Appetize one https://github.com/storybookjs/native/blob/master/packages/controllers/src/controllers/AppetizeEmulatorController.ts

and the Controller Factory must have some logic to construct that specific controller https://github.com/storybookjs/native/blob/master/packages/controllers/src/manager/controllerFactory.ts#L9

migueln1987 commented 5 months ago

@jgornick Did creating the controller and controller factory work for SauceLabs?

jgornick commented 5 months ago

Hey @migueln1987! Sorry, but we never got around to integrating SauceLabs.

migueln1987 commented 5 months ago

@jgornick thanks for the reply. I didn't think I was going to get one back from a post from two or three years ago haha. Did you find a different solution? Airbnb has Showkase but it doesn't have controls to mess around with the components.