Deactivate NFC after payment

MacroDroidDev

Administrator
Staff member
There is an NFC action (root/adb hack) that can enable disable NFC. Maybe you could create a macro to enable/disable it when the Google Pay app is opened/closed or something similar?
 

BlackHoleSun

New member
Hello,

thank you and you are right, this was the solutuion - but i do not use "Google Pay", but my bank card (this has the according feature) and the "problem" is that this card is not an app - so i can't connect it with an action.

BR
 

Jacob L

Moderator (Lawsonator)
Create a macro that has a trigger of notification received from Google pay, you can filter it to include a currency sign £ in my case. Then add a wait of 5 seconds and then turn off NFC. That will work for you.

Doing so with the trigger of app open/close will cause NFC to turn off when you are loking at your Gpay history for example.
 

BlackHoleSun

New member
Hi,

thanks - this *could* work if i'd use Google pay, but i don't. It's a feature of my bank card, no separate app. There's just a pop-up which disappears after paying is done.

BR
 

Jacob L

Moderator (Lawsonator)
Hi,

thanks - this *could* work if i'd use Google pay, but i don't. It's a feature of my bank card, no separate app. There's just a pop-up which disappears after paying is done.

BR
How does a popup appear if there's no apps involved. A popup needs an app.

Anyway. Create a macro with logcat trigger any. Empty action. Make a payment then look in system log once payment happens. Then you can see the exact activity that draws the popup. Then use that logcat entry as a trigger to turn off NFC
 
Top