tigoe/BeginningNFC

Partial working of this project

Opened this issue · 1 comments

I am getting --
Write a tag like and all the 5 options; However, I am not getting afterwards, for instance, "tap an NFC tag to write data" and "wrote to the tag"? Has anyone faced similar issue?
Any inputs? If you might have any clue a discussion on the same would be appreciated . Thanks

I ran into the same issue. This is a bug in the code as written. A change event listener needs to be added to appPicker.
Insert the following to the onDeviceReady function at the end of the function.

appPicker.addEventListener('change', function(ev){
console.log('Changed', ev.target.value);
app.makeMessage();
});