I'm encountering an exception with contact.delete() on an Android device (works OK on emulators). The problem occurs with line 438 of contact-model.android.js:
var rawIdCursor = contentResolver.query(android.provider.ContactsContract.RawContacts.CONTENT_URI, ["_id"], "_id = " + id, null, null);
if (!rawIdCursor.moveToFirst()) {
throw new Error("Error optaining group id");
return;
}
So far I haven't been able to determine why rawIdCursor.moveToFirst() fails. At this point I'd welcome any insights. This is with the current plugin version, 1.6.2, and {N} 6.8.0.
[edit]
I was only seeing this on one of two devices, so I reset the failing device to factory settings but am still seeing the same problem, except when I also see issue 83 which prevents my deleteContact() from firing.
I'm encountering an exception with contact.delete() on an Android device (works OK on emulators). The problem occurs with line 438 of contact-model.android.js:
So far I haven't been able to determine why
rawIdCursor.moveToFirst()fails. At this point I'd welcome any insights. This is with the current plugin version, 1.6.2, and {N} 6.8.0.[edit]
I was only seeing this on one of two devices, so I reset the failing device to factory settings but am still seeing the same problem, except when I also see issue 83 which prevents my deleteContact() from firing.