View Issue Details

IDProjectCategoryView StatusLast Update
0008349Talerwallet (Android App)public2024-08-28 23:31
Reporteravalos Assigned Toavalos  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Platformarm64OSLineageOSOS Version18.1
Product Versiongit (master) 
Target Version0.13Fixed in Version0.13 
Summary0008349: App not reading an NFC tag when screen is locked
DescriptionWhen the screen is locked, the Android app (or the phone?) fails to read a NPX MiFarre Ultralight C tag programmed with a taler://pay/ URI, even when the phone (Christian's Pixel 4a) is configured to read NFC tags when locked. Reading the payment URI only works when the phone is unlocked, in which case the user is prompted to select an app to handle the URI, this despite the fact that the Taler wallet is the only app registered to handle taler:// URIs, so the phone shouldn't require any user action.
Steps To Reproduce1. Lock screen.
2. Approach NFC tag.
3. Nothing happens.

1. Unlock screen.
2. Approach NFC tag again.
2. Select Taler wallet app (the only one in the list).
3. Confirm payment in Taler wallet.
Additional InformationInitially reported by Christian via Mattermost.
Tagsnfc

Activities

MarcS

2024-02-07 22:06

developer   ~0021200

On an iPhone, you need to wake up the screen for iOS to switch on the NFC chip in reader mode. But unlocking is not necessary:
the notification >>>NFC Tag Detected - Open "taler" link<<< is shown (hiding the information that "Taler Wallet" or any other app that knows TalerURIs is installed when the iPhone is locked). Apple is quite good with privacy...
If you unlock the iPhone first and then scan the tag, the notification reads >>>Taler Wallet NFC Tag - Open in Taler Wallet<<<.

I didn't write a single line of code for NFC - all I did was register the "taler"-scheme for the Taler Wallet app. The above behaviour is standard iOS - and even if I wanted I couldn't change it.

Note however, that if I install a second app that knows TalerURIs (e.g. "GNU Taler"), iOS does NOT present a list of all applications which can deal with TalerURIs when you scan the tag, but only asks for one of them (maybe the last one you installed?). If you happen to want to open the TalerURI with a different app you cannot do this - it's either the app iOS selected or none. Bummer...

avalos

2024-07-23 18:28

developer   ~0022838

With the series of NFC improvements made to the app, it is still required (for security reasons) for the smartphone to be unlocked in order to detect the NFC tag; however, the URI will now be handled automatically by the wallet app (if it's the only one installed) instead of prompting the user to select an app.

Issue History

Date Modified Username Field Change
2024-02-07 21:35 avalos New Issue
2024-02-07 21:35 avalos Status new => assigned
2024-02-07 21:35 avalos Assigned To => avalos
2024-02-07 21:35 avalos Tag Attached: nfc
2024-02-07 21:52 Christian Grothoff Severity minor => feature
2024-02-07 21:52 Christian Grothoff Target Version git (master) => post-1.0
2024-02-07 22:06 MarcS Note Added: 0021200
2024-07-23 18:28 avalos Status assigned => resolved
2024-07-23 18:28 avalos Resolution open => fixed
2024-07-23 18:28 avalos Note Added: 0022838
2024-07-23 22:28 Christian Grothoff Fixed in Version => 0.13
2024-07-23 22:28 Christian Grothoff Target Version post-1.0 => 0.13
2024-08-28 23:31 Christian Grothoff Status resolved => closed