Github user vladimir-kotikov commented on the issue:

    https://github.com/apache/cordova-plugin-contacts/pull/128
  
    Hey, @proverbface, we did some manual testing of this, and it does seem to 
cause problems on devices, other than you mentioned. In particular, on Samsung 
Galaxy Note 2 this throws `java.lang.NumberFormatException: Invalid int: 
"null"` though the original code is working just fine.
    
    Perhaps it would be better to check if 
`cursor.getString(cursor.getColumnIndex(CommonDataKinds.Im.PROTOCOL))` can be 
turned into integer first, and if not - fall back to `CUSTOM_PROTOCOL`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to