chariotsolutions/phonegap-nfc — pull request #12 by zonpantli (2012-03-03 15:50:56+00:00)
Title: workaround for ICS bug returning null from mTag.getTagService()

Plugin kept crashing about 9 times out of 10 on my Galaxy Nexus ICS 4.0.2 when reading a tag. Based on [this](http://issues.mroland.at/index.php?do=details&task_id=47) post, this is caused by a bug on ICS.

Added a try/catch around `ndef.canMakeReadOnly()` call, which solves the problem for me.