yarn add react-native-unique-identifier
Update app.json
"plugins": [["react-native-unique-identifier/plugin"]]
- Open project in XCode
- Signing & Capabilities
- Click "+ Capability" button
- Search and select iCloud (now you should see a new capability in "Signing & Capabilities" list)
- Check CloudKit checkbox in services
- Add app bundle name using "+" button in Containers
Function | Response | Platform | Description |
---|---|---|---|
getiCloudRecord |
Promise<string> |
iOS | iCloud record |
getGoogleAccountName |
Promise<string> |
Android | google email name |