Installation
📋 Requirements​
| Minimum | |
|---|---|
| React Native | 0.71 |
| iOS | 15.1 |
| Node | 20 |
Both architectures are supported. RN 0.82 removed the Legacy Architecture, so it only matters on 0.81 and below.
Platform support per provider​
| iOS / macOS | Android | Web | |
|---|---|---|---|
icloudKV | native | - | - |
cloudKit | native | REST | REST |
cloudKitEncrypted | native | - | - |
icloudDocuments | native | - | - |
googleDrive | REST | REST | REST |
An unavailable provider rejects with ERR_UNSUPPORTED_PLATFORM; it never silently does nothing. Trade-offs: Choosing a provider.
📦 Installation​
npx expo install react-native-cloud-sync
Add the config plugin, then rebuild:
{
"expo": {
"plugins": [
["react-native-cloud-sync", {
"containerIdentifier": "iCloud.com.your.app"
}]
]
}
}
Bare React Native and manual ios/ entitlements: see Installation.