public void deleteContact(ReadableMap contact, Promise promise) {

        String recordID = contact.hasKey("recordID") ? contact.getString("recordID") : null;

        try {
            Context ctx = getReactApplicationContext();

            Uri uri = Uri.withAppendedPath(ContactsContract.Contacts.CONTENT_URI, recordID);
            ContentResolver cr = ctx.getContentResolver();
            int deleted = cr.delete(uri, null, null);

            if (deleted > 0)
                promise.resolve(recordID); // success
            else
                promise.resolve(null); // something was wrong

        } catch (Exception e) {
            promise.reject(e.toString());
        }
    }
Retrieves <code>contact</code> for contact, or <code>null</code> if not
available.

@param contactId contact identifier, <code>recordID</code>
android/src/main/java/com/rt2zz/reactnativecontacts/impl/ContactsManagerImpl.java