React Native Cloud Storage
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

ParameterTypeDescription
cloudStorageInstance?CloudStorageAn optional instance of RNCloudStorage to use instead of the default instance.

Returns

boolean

A boolean indicating whether or not the cloud storage is available.

On this page