View Issue Details

IDProjectCategoryView StatusLast Update
0008349Talerwallet (Android App)public2024-08-28 21:31
Reporteravalos Assigned Toavalos Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
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

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

MarcS

2024-02-07 21: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 16: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 ModifiedUsernameFieldChange
2024-02-07 20:35avalosNew Issue
2024-02-07 20:35avalosStatusnew => assigned
2024-02-07 20:35avalosAssigned To => avalos
2024-02-07 20:35avalosTag Attached: nfc
2024-02-07 20:52Christian GrothoffSeverityminor => feature
2024-02-07 20:52Christian GrothoffTarget Versiongit (master) => post-1.0
2024-02-07 21:06MarcSNote Added: 0021200
2024-07-23 16:28avalosStatusassigned => informing
2024-07-23 16:28avalosResolutionopen => fixed
2024-07-23 16:28avalosNote Added: 0022838
2024-07-23 20:28Christian GrothoffFixed in Version => 0.13
2024-07-23 20:28Christian GrothoffTarget Versionpost-1.0 => 0.13
2024-08-28 21:31Christian GrothoffStatusinforming => closed