Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
86dd1a48
Unverified
Commit
86dd1a48
authored
Sep 30, 2019
by
Marc Cornellà
Committed by
GitHub
Sep 30, 2019
Browse files
Options
Browse Files
Download
Plain Diff
react-native: add aliases for newer iPhones (#8170)
Added aliases for iPhone 11, 11 Pro, and 11 Pro Max
parents
f9e7c45a
487f0af4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
README.md
plugins/react-native/README.md
+3
-0
react-native.plugin.zsh
plugins/react-native/react-native.plugin.zsh
+4
-0
No files found.
plugins/react-native/README.md
View file @
86dd1a48
...
...
@@ -39,6 +39,9 @@ plugins=(... react-native)
|
**rniosxs**
|
`react-native run-ios --simulator "iPhone Xs"`
|
|
**rniosxsm**
|
`react-native run-ios --simulator "iPhone Xs Max"`
|
|
**rniosxr**
|
`react-native run-ios --simulator "iPhone Xʀ"`
|
|
**rnios11**
|
`react-native run-ios --simulator "iPhone 11"`
|
|
**rnios11p**
|
`react-native run-ios --simulator "iPhone 11 Pro"`
|
|
**rnios11pm**
|
`react-native run-ios --simulator "iPhone 11 Pro Max"`
|
| _iPad_ | |
|
**rnipad2**
|
`react-native run-ios --simulator "iPad 2"`
|
|
**rnipad5**
|
`react-native run-ios --simulator "iPad (5th generation)"`
|
...
...
plugins/react-native/react-native.plugin.zsh
View file @
86dd1a48
...
...
@@ -24,6 +24,10 @@ alias rniosx='react-native run-ios --simulator "iPhone X"'
alias
rniosxs
=
'react-native run-ios --simulator "iPhone Xs"'
alias
rniosxsm
=
'react-native run-ios --simulator "iPhone Xs Max"'
alias
rniosxr
=
'react-native run-ios --simulator "iPhone Xʀ"'
alias
rnios11
=
'react-native run-ios --simulator "iPhone 11"'
alias
rnios11p
=
'react-native run-ios --simulator "iPhone 11 Pro"'
alias
rnios11pm
=
'react-native run-ios --simulator "iPhone 11 Pro Max"'
# iPad
alias
rnipad2
=
'react-native run-ios --simulator "iPad 2"'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment