[Testing] NFC for Halium 9 ports

  • Hey! I have something new to play around with for people on Halium 9 builds of Ubuntu Touch: you can now test your device for NFC functionality!
    The only prerequisite is that your device needs to be on the devel-based rootfs, not the edge one.

    To install:

    sudo ubports-qa install xenial_-_android9_-_nfcd
    sudo mount -o remount,rw /
    sudo apt install nfcd nfcd-tools nfcd-binder-plugin nfcd-repowerd-plugin

    To get console output from nfcd:

    sudo stop nfcd
    sudo /usr/sbin/nfcd -p /usr/lib/nfcd/plugins -v

    App developers can try the QtNFC integration module to develop apps based on this technology. This requires the following change to be made to the rootfs before it can be used by (currently only unconfined) apps:

    sudo mount -o remount,rw /
    sudo apt install qml-module-qtnfc

    The API documentation is located here: https://doc-snapshots.qt.io/qt5-5.9/qtnfc-qmlmodule.html

    Please use this thread to share your experience with NFC enablement and even ask for help.

Log in to reply