docs: update min iOS version info (#3814)

* docs: update min iOS version info

* Update docs/pages/component/props.mdx

---------

Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
This commit is contained in:
Krzysztof Moch
2024-05-28 09:31:00 +02:00
committed by GitHub
parent c2cc917368
commit 46e12e0b94
3 changed files with 17 additions and 0 deletions

View File

@@ -4,6 +4,19 @@
#### iOS
##### Min iOS version
From version 6.0.0, the minimum iOS version supported is 13.0. Projects that are using `react-native < 0.73` will need to set the minimum iOS version to 13.0 in the Podfile.
You can do it by adding the following code to your Podfile:
```diff
- platform :ios, min_ios_version_supported
+ MIN_IOS_OVERRIDE = '13.0'
+ if Gem::Version.new(MIN_IOS_OVERRIDE) > Gem::Version.new(min_ios_version_supported)
+ min_ios_version_supported = MIN_IOS_OVERRIDE
+ end
```
##### linking
In your project Podfile add support for static dependency linking. This is required to support the new Promises subdependency in the iOS swift conversion.