This guide is for advanced users, please only proceed if you have experience with decompiling apps, and modifying android apps.
You need a rooted android 7.0 phone to apply this mod.
Read more How to: Modifying NfcNci.apk to run when screen is turned off on Android Nougat