NFCForms
NFCForms copied to clipboard
NfcForms.IsAvailable NullReferenceException on Android-device without NFC
Hi,
I'm getting an System.NullReferenceException: Object reference not set to an instance of an object. when checking NfcForms.IsAvailable on devices where NFC-hardware isn't available.
For example Samsung Trend GT-S7580 (Android 4.2.2)
Would be nice if false was returned both when NFC is disabled and when device don't have the hardware.
/Richard