From ccee223aed6c280f207d02dd7e23f3a0d3cfcda1 Mon Sep 17 00:00:00 2001 From: KevinHu2014 Date: Wed, 25 Sep 2019 00:58:35 +0800 Subject: [PATCH 1/3] react-native: add aliases for newer iPhones Added aliases for iPhone 11, 11 Pro, 11 Pro Max --- plugins/react-native/react-native.plugin.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/react-native/react-native.plugin.zsh b/plugins/react-native/react-native.plugin.zsh index f7695d15f..b33dedfed 100644 --- a/plugins/react-native/react-native.plugin.zsh +++ b/plugins/react-native/react-native.plugin.zsh @@ -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"' From 2004550a5890850505b29bda801dafdf3a94d0d7 Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 25 Sep 2019 01:03:08 +0800 Subject: [PATCH 2/3] react-native: add aliases for newer iPhones to Doc Added aliases for iPhone 11, 11 Pro, 11 Pro Max to the Document. --- plugins/react-native/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/react-native/README.md b/plugins/react-native/README.md index dc0207184..a472ddb1c 100644 --- a/plugins/react-native/README.md +++ b/plugins/react-native/README.md @@ -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)"` | From 487f0af412e9ef968175d290a606bd6c0717fc9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Mon, 30 Sep 2019 19:49:09 +0200 Subject: [PATCH 3/3] Fix table alignment --- plugins/react-native/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/react-native/README.md b/plugins/react-native/README.md index a472ddb1c..d0a53b8d7 100644 --- a/plugins/react-native/README.md +++ b/plugins/react-native/README.md @@ -40,8 +40,8 @@ plugins=(... react-native) | **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"` | +| **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)"` |