chariotsolutions/phonegap-nfc — pull request #32 by gtanner (2012-11-26 16:32:16+00:00)
Title: Added BlackBerry 10 NFC Tag reading support

I currently only added support for:

nfc.addTagDiscoveredListener

I am sure more support could be added with some more work (writing tags, etc).

This does give us a good start for BlackBerry 10 though.

Since BlackBerry 10 had all the support for reading tags in javascript this ended up being a pure javascript implementation. I choice to include this as a "plugin" to your javascript file that will only execute if run on a bb10 device.

Also this will only run on Cordova 2.3 (which hasn't been released yet but will be soon) due to a small addition I needed to be able to plug custom code into the exec layer for BlackBerry:
https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=commitdiff;h=166a98fb01aca70cf54972f069d5301979b84a6c