react-native-cloud-storage 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -36,10 +36,10 @@ Afterwards, [add the provided config plugin](https://react-native-cloud-storage.
36
36
  ```jsx
37
37
  import React from 'react';
38
38
  import { Platform, View, Text, Button } from 'react-native';
39
- import { CloudStorage, useCloudAvailable } from 'react-native-cloud-storage';
39
+ import { CloudStorage, useIsCloudAvailable } from 'react-native-cloud-storage';
40
40
 
41
41
  const App = () => {
42
- const cloudAvailable = useCloudAvailable();
42
+ const cloudAvailable = useIsCloudAvailable();
43
43
 
44
44
  React.useEffect(() => {
45
45
  if (Platform.OS !== 'ios') {
@@ -6,7 +6,7 @@
6
6
  RCT_EXTERN_METHOD(supportedEvents)
7
7
  RCT_EXTERN_METHOD(startObserving)
8
8
  RCT_EXTERN_METHOD(stopObserving)
9
- RCT_EXTERN_METHOD(iCloudIdentityChanged)
9
+ RCT_EXTERN_METHOD(iCloudIdentityChanged:(NSNotification *)notification)
10
10
 
11
11
  + (BOOL)requiresMainQueueSetup
12
12
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-cloud-storage",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Save to & read from iCloud and Google Drive using React Native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",