react-native-contacts 8.0.6 → 8.0.7

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.
@@ -12,6 +12,8 @@ import com.facebook.react.bridge.Promise;
12
12
  import com.facebook.react.bridge.ReactApplicationContext;
13
13
  import com.facebook.react.bridge.ReadableMap;
14
14
  import com.rt2zz.reactnativecontacts.impl.ContactsManagerImpl;
15
+ import com.facebook.react.bridge.Promise;
16
+ import com.facebook.react.bridge.ReadableArray;
15
17
 
16
18
  import java.io.ByteArrayOutputStream;
17
19
  import java.io.IOException;
@@ -27,6 +29,46 @@ public class ContactsManager extends NativeContactsSpec implements ActivityEvent
27
29
  reactContext.addActivityEventListener(this);
28
30
  }
29
31
 
32
+ @Override
33
+ public void removeContactsFromGroup(String groupId, ReadableArray contactIds, Promise promise) {
34
+ promise.reject("E_NOT_IMPLEMENTED", "removeContactsFromGroup not implemented yet");
35
+ }
36
+
37
+ @Override
38
+ public void addContactsToGroup(String groupId, ReadableArray contactIds, Promise promise) {
39
+ promise.reject("E_NOT_IMPLEMENTED", "addContactsToGroup not implemented yet");
40
+ }
41
+
42
+ @Override
43
+ public void contactsInGroup(String groupId, Promise promise) {
44
+ promise.reject("E_NOT_IMPLEMENTED", "contactsInGroup not implemented yet");
45
+ }
46
+
47
+ @Override
48
+ public void addGroup(ReadableMap groupData, Promise promise) {
49
+ promise.reject("E_NOT_IMPLEMENTED", "addGroup not implemented yet");
50
+ }
51
+
52
+ @Override
53
+ public void updateGroup(String groupId, ReadableMap groupData, Promise promise) {
54
+ promise.reject("E_NOT_IMPLEMENTED", "updateGroup not implemented yet");
55
+ }
56
+
57
+ @Override
58
+ public void deleteGroup(String groupId, Promise promise) {
59
+ promise.reject("E_NOT_IMPLEMENTED", "deleteGroup not implemented yet");
60
+ }
61
+
62
+ @Override
63
+ public void getGroup(String groupId, Promise promise) {
64
+ promise.reject("E_NOT_IMPLEMENTED", "getGroup not implemented yet");
65
+ }
66
+
67
+ @Override
68
+ public void getGroups(Promise promise) {
69
+ promise.reject("E_NOT_IMPLEMENTED", "getGroups not implemented yet");
70
+ }
71
+
30
72
  /*
31
73
  * Returns all contactable records on phone
32
74
  * queries CommonDataKinds.Contactables to get phones and emails
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/rt2zz/react-native-contacts.git"
6
6
  },
7
- "version": "8.0.6",
7
+ "version": "8.0.7",
8
8
  "description": "React Native Contacts (android & ios)",
9
9
  "nativePackage": true,
10
10
  "keywords": [