You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ ___
30
30
-[Push notification deep links support](#expo-push-notification-deep-links-support)
31
31
-[Android](#android-deep-link)
32
32
-[iOS](#ios-deep-link)
33
+
-[Versioning in dependencies](#versioning-in-dependencies)
33
34
-[Common methods](#methods)
34
35
-[Types](#types)
35
36
-[Usage](#usage)
@@ -602,8 +603,22 @@ Next, rebuild your app as described in the ["Adding custom native code"](https:/
602
603
}
603
604
}
604
605
```
606
+
___
607
+
608
+
### Versioning in dependencies
609
+
610
+
We define the iOS and Android versions used in React Native with optimistic operators
611
+
i.e. ``` ~> for iOS ``` and ``` + for Android ```, ensuring compatibility while allowing for non-breaking updates:
605
612
613
+
iOS (~> in CocoaPods):
614
+
We use a version constraint e.g.``` ~> 18.6.1 ``` which allows updates from ``` 18.6.1 to 18.6.x ``` (up to but not including 18.7.0).
606
615
616
+
Android (+ in Gradle):
617
+
We use a version constraint e.g. ``` 18.6.+ ``` which allows updates to any patch version within 18.6.x
618
+
619
+
This means that by removing and reinstalling dependencies, you’ll automatically get the latest compatible patch version, which includes any fixes while avoiding breaking changes from a major version.
0 commit comments