chariotsolutions / phonegap-nfc

PhoneGap NFC Plugin
MIT License
706 stars 559 forks source link

a dedicated interface to get current nfc device status #154

Closed didlich closed 9 years ago

didlich commented 9 years ago

often there is a requirement to tell the user to activate the NFC option before he can proceed any action

if he switched off the NFC, for power save for example, while the app is in the background, then after resume we have to know whether the NFC is still ON or OFF to react accordingly

for this reason there have to be an interface to get on/off status of the NFC device

JohnMcLear commented 9 years ago

Thanks @didlich

JohnMcLear commented 9 years ago

@didlich if you have a spare minute I don't suppose you could take a quick look at https://github.com/chariotsolutions/phonegap-nfc/issues/136 please? :) *puppy eyes

don commented 9 years ago

Can you rename getStatus to enabled? See #146

didlich commented 9 years ago

@JohnMcLear yes, I will have a look at that

didlich commented 9 years ago

@don no problem, I'll test it tomorrow and then commit the changes

didlich commented 9 years ago

@don commited the changes related to renaming