Hooks
useIsCloudAvailable
A hook that tests whether or not the cloud storage is available.
function useIsCloudAvailable(cloudStorageInstance?: CloudStorage): boolean;A hook that tests whether or not the cloud storage is available.
Parameters
| Parameter | Type | Description |
|---|---|---|
cloudStorageInstance? | CloudStorage | An optional instance of RNCloudStorage to use instead of the default instance. |
Returns
boolean
A boolean indicating whether or not the cloud storage is available.