Reputation: 536
I am developing a mobile wallet application and I have a problem that I cannot make payments when screen is locked. The HostApduService not works although I put my mobile phone on the POS terminal. Do you know Google wallet make payments when the screen is locked with no password or password / pattern?
Upvotes: 1
Views: 1368
Reputation: 894
In your APDU configuration xml file that you reference in AndroidManifest.xml file, set the property "requireDeviceUnlock
" to "false
". See it in this example: https://github.com/handstandsam/HandstandPay/blob/master/app/src/main/res/xml/apdu_config.xml
Example project: https://github.com/handstandsam/HandstandPay
Upvotes: 2