Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default iOS device to iPhone 12 #70

Merged

Conversation

daisyduong-acc
Copy link
Contributor

@daisyduong-acc daisyduong-acc commented Mar 24, 2022

Building off of this PR: #69, I'd like to set the default iOS emulator device to the iPhone 12 because my storybook iOS components are compatible with iOS 14+. The iPhone 12's are the only devices on the device list that default to iOS 14.

Since there isn't really a way to switch emulator OS versions right now, having the emulator default to an iPhone 12 would be much more convenient to users viewing mobile components that support the latest iOS versions (instead of having to instruct them to switch devices using the device menu each time they view a new component).

📦 Published PR as canary version: 2.2.4-canary.70.754.0

✨ Test out this PR locally via:

npm install @storybook/native-android-material-deep-link-example@2.2.4-canary.70.754.0
npm install @storybook/native-controls-example@2.2.4-canary.70.754.0
npm install @storybook/native-cross-platform-example@2.2.4-canary.70.754.0
npm install @storybook/native-flutter-example@2.2.4-canary.70.754.0
npm install @storybook/native-ios-example-deep-link@2.2.4-canary.70.754.0
npm install @storybook/native-addon@2.2.4-canary.70.754.0
npm install @storybook/native-controllers@2.2.4-canary.70.754.0
npm install @storybook/deep-link-logger@2.2.4-canary.70.754.0
npm install @storybook/native-dev-middleware@2.2.4-canary.70.754.0
npm install @storybook/native-devices@2.2.4-canary.70.754.0
npm install @storybook/native-components@2.2.4-canary.70.754.0
npm install @storybook/native@2.2.4-canary.70.754.0
npm install @storybook/native-types@2.2.4-canary.70.754.0
# or 
yarn add @storybook/native-android-material-deep-link-example@2.2.4-canary.70.754.0
yarn add @storybook/native-controls-example@2.2.4-canary.70.754.0
yarn add @storybook/native-cross-platform-example@2.2.4-canary.70.754.0
yarn add @storybook/native-flutter-example@2.2.4-canary.70.754.0
yarn add @storybook/native-ios-example-deep-link@2.2.4-canary.70.754.0
yarn add @storybook/native-addon@2.2.4-canary.70.754.0
yarn add @storybook/native-controllers@2.2.4-canary.70.754.0
yarn add @storybook/deep-link-logger@2.2.4-canary.70.754.0
yarn add @storybook/native-dev-middleware@2.2.4-canary.70.754.0
yarn add @storybook/native-devices@2.2.4-canary.70.754.0
yarn add @storybook/native-components@2.2.4-canary.70.754.0
yarn add @storybook/native@2.2.4-canary.70.754.0
yarn add @storybook/native-types@2.2.4-canary.70.754.0

@amalik2
Copy link
Contributor

amalik2 commented Mar 25, 2022

Thanks for the contribution!

@amalik2 amalik2 merged commit 346020e into storybookjs:master Mar 25, 2022
@sumwatshade
Copy link
Contributor

🚀 PR was released in v2.2.4 🚀

@daisyduong-acc daisyduong-acc deleted the update-ios-emulator-default-device branch March 28, 2022 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants