[NFC Plugin] toJSON function not recognized in Outsystems 11

Forge Component
(3)
Published on 28 Aug (3 weeks ago) by Experts
3 votes
Published on 28 Aug (3 weeks ago) by Experts

Hello,

Currently I am building a mobile app for reading NFC UID with mobile phone, but there's error every time the NFC tag / card is tapped on the device as below :


Any ideas to fix this?

And also, is there any plans to update the app to current OS version?


Thanks

Hi Billy,


I came across this problem myself and was able to resolve it. 

You have to modify some code in the plugin module in the DecodeToTextRecord action.
This picture should help you what to change in the javascript code blocks and the adding of a JSON Serializer and using those as an input. 

The NFC plugin should now be compatible with Outsystems 11 again. 

If this fix is too late for you, this might help other people who have trouble getting this plugin to work in OS11


- Chloë

Thank you, Chloë, for the recommended fix.

I've added the fix to the component, and published a new version for OutSystems 11. Users should no longer need to manually implement the fix.