react-native-contacts 8.0.8 → 8.0.10

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
@@ -256,8 +256,8 @@ If you'd like to read/write the contact's notes, call the `iosEnableNotesUsage(t
256
256
 
257
257
  ## iOS only
258
258
 
259
- checkPermission(): Promise - checks permission to access Contacts
260
- requestPermission(): Promise - request permission to access Contacts
259
+ * checkPermission(): Promise - checks permission to access Contacts
260
+ * requestPermission(): Promise - request permission to access Contacts
261
261
 
262
262
  ## Adding Contacts
263
263
  Currently all fields from the contact record except for thumbnailPath are supported for writing
@@ -1,19 +1,14 @@
1
1
  #import <React/RCTBridgeModule.h>
2
2
  #import <Contacts/Contacts.h>
3
3
  #import <ContactsUI/ContactsUI.h>
4
- #import <Foundation/Foundation.h>
5
-
6
4
  #ifdef RCT_NEW_ARCH_ENABLED
7
-
8
5
  #import <RNContactsSpec/RNContactsSpec.h>
9
- @interface RCTContacts: NSObject <NativeContactsSpec, CNContactViewControllerDelegate>
6
+ #endif
10
7
 
8
+ #ifdef RCT_NEW_ARCH_ENABLED
9
+ @interface RCTContacts : NSObject <NativeContactsSpec, CNContactViewControllerDelegate>
11
10
  #else
12
-
13
- #import <React/RCTBridgeModule.h>
14
11
  @interface RCTContacts : NSObject <RCTBridgeModule, CNContactViewControllerDelegate>
15
-
16
12
  #endif
17
13
 
18
14
  @end
19
-
package/package.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "name": "react-native-contacts",
3
3
  "repository": {
4
4
  "type": "git",
5
- "url": "https://github.com/rt2zz/react-native-contacts.git"
5
+ "url": "https://github.com/morenoh149/react-native-contacts.git"
6
6
  },
7
- "version": "8.0.8",
7
+ "version": "8.0.10",
8
8
  "description": "React Native Contacts (android & ios)",
9
9
  "nativePackage": true,
10
10
  "keywords": [
@@ -17,7 +17,7 @@
17
17
  "android"
18
18
  ],
19
19
  "bugs": {
20
- "url": "https://github.com/rt2zz/react-native-contacts/issues"
20
+ "url": "https://github.com/morenoh149/react-native-contacts/issues"
21
21
  },
22
22
  "@react-native-community/bob": {
23
23
  "source": "src",
@@ -28,7 +28,7 @@
28
28
  "typescript"
29
29
  ]
30
30
  },
31
- "homepage": "https://github.com/rt2zz/react-native-contacts",
31
+ "homepage": "https://github.com/morenoh149/react-native-contacts",
32
32
  "main": "index.ts",
33
33
  "types": "index.d.ts",
34
34
  "scripts": {