Skip to content

Commit

Permalink
Update README about minimum iOS version (#17)
Browse files Browse the repository at this point in the history
* Update README.md

* Update README.md

* Update README.md for expo

* fix: update CLI to RNC CLI

---------

Co-authored-by: Oskar Kwaśniewski <[email protected]>
  • Loading branch information
pnthach95 and okwasniewski authored Oct 8, 2024
1 parent 60354cf commit 2e8ebe3
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e8ebe3

Please sign in to comment.