storybookjs / native

šŸ“± Storybook for Native: iOS, Android, Flutter
MIT License
184 stars 29 forks source link

Add options to select OS Version #73

Closed hborawski closed 2 years ago

hborawski commented 2 years ago

Adds iosVersion and androidVersion to DeviceContext

adds a VersionSelector to the addon to change OS versions

šŸ“¦ Published PR as canary version: 2.2.6-canary.73.786.0
:sparkles: Test out this PR locally via: ```bash npm install @storybook/native-android-material-deep-link-example@2.2.6-canary.73.786.0 npm install @storybook/native-controls-example@2.2.6-canary.73.786.0 npm install @storybook/native-cross-platform-example@2.2.6-canary.73.786.0 npm install @storybook/native-flutter-example@2.2.6-canary.73.786.0 npm install @storybook/native-ios-example-deep-link@2.2.6-canary.73.786.0 npm install @storybook/native-addon@2.2.6-canary.73.786.0 npm install @storybook/native-controllers@2.2.6-canary.73.786.0 npm install @storybook/deep-link-logger@2.2.6-canary.73.786.0 npm install @storybook/native-dev-middleware@2.2.6-canary.73.786.0 npm install @storybook/native-devices@2.2.6-canary.73.786.0 npm install @storybook/native-components@2.2.6-canary.73.786.0 npm install @storybook/native@2.2.6-canary.73.786.0 npm install @storybook/native-types@2.2.6-canary.73.786.0 # or yarn add @storybook/native-android-material-deep-link-example@2.2.6-canary.73.786.0 yarn add @storybook/native-controls-example@2.2.6-canary.73.786.0 yarn add @storybook/native-cross-platform-example@2.2.6-canary.73.786.0 yarn add @storybook/native-flutter-example@2.2.6-canary.73.786.0 yarn add @storybook/native-ios-example-deep-link@2.2.6-canary.73.786.0 yarn add @storybook/native-addon@2.2.6-canary.73.786.0 yarn add @storybook/native-controllers@2.2.6-canary.73.786.0 yarn add @storybook/deep-link-logger@2.2.6-canary.73.786.0 yarn add @storybook/native-dev-middleware@2.2.6-canary.73.786.0 yarn add @storybook/native-devices@2.2.6-canary.73.786.0 yarn add @storybook/native-components@2.2.6-canary.73.786.0 yarn add @storybook/native@2.2.6-canary.73.786.0 yarn add @storybook/native-types@2.2.6-canary.73.786.0 ```
sumwatshade commented 2 years ago

:rocket: PR was released in v2.2.6 :rocket: