From 2e8ebe3f28a3aa5faedafe918bf260410dd4152a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ph=E1=BA=A1m=20Ng=E1=BB=8Dc=20Th=E1=BA=A1ch?= <31266357+pnthach95@users.noreply.github.com> Date: Tue, 8 Oct 2024 16:51:04 +0700 Subject: [PATCH] Update README about minimum iOS version (#17) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update README.md * Update README.md * Update README.md for expo * fix: update CLI to RNC CLI --------- Co-authored-by: Oskar Kwaśniewski --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 566bab7..4eea47d 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,34 @@ https://github.com/user-attachments/assets/fbdd9ce2-f4b9-4d0c-bd91-2e62bb422d69 yarn add react-native-bottom-tabs ``` +If you use React Native version 0.75 or lower: + +- For `@react-native-community/cli` users, open Podfile in ios folder and change minimum iOS version to `14.0` before `pod install` + +```patch +-platform :ios, min_ios_version_supported ++platform :ios, '14.0' +``` + +- For Expo users, install `expo-build-properties`, open app.json file and update `deploymentTarget` for `ios` as below + +```json +{ + "expo": { + "plugins": [ + [ + "expo-build-properties", + { + "ios": { + "deploymentTarget": "14.0" + } + } + ] + ], + } +} +``` + ## 📖 Documentation ### Usage with React Navigation