the-dise / Mir-Pay-Wallet

Mir Pay Wallet app for Wear OS
GNU General Public License v3.0
128 stars 7 forks source link

feat: add an automatic NFC manager according to the application lifecycle #16

Open al3xk0s opened 1 month ago

al3xk0s commented 1 month ago

Adds nfc status management, and also adds binding to open the app instead of Samsung Pay.

al3xk0s commented 1 month ago

I'm not very good at android development, so I apologize for the rather primitive code :)

al3xk0s commented 1 month ago

This solution probably needs more long-term tests. So far, I have found out that you cannot disable developer mode on the device, otherwise the permission will be revoked.