Doing a getGroups() when there are no groups returned, the following null error occurs:
CONSOLE ERROR file:///app/tns_modules/@angular/core/bundles/core.umd.js:15769:28: ERROR Error: Uncaught (in promise): TypeError: null is not an object (evaluating 'foundGroups.count')
file:///app/tns_modules/nativescript-contacts/index.js:137:20
Doing a
getGroups()
when there are no groups returned, the following null error occurs:Adding the null check prevents the error.