View Issue Details

IDProjectCategoryView StatusLast Update
0010149Talerwallet-corepublic2025-07-30 00:22
Reporteravalos Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status confirmedResolutionopen 
Product Version1.0 
Target Versionpost-1.0 
Summary0010149: implement a new notification type for payment sounds
DescriptionRight now, iOS implements a quite monsterly logic to decide when to play sounds and which sounds to play based on transaction-state-transition notifications and the types of transactions. For the sake of consistency across platforms, I believe it is not the right approach to decide this on the UI. In my opinion, this logic should be moved to wallet-core:

https://git.gnunet.org/taler-ios.git/tree/TalerWallet1/Backend/WalletCore.swift?id=14c7991224949565cd2b63db38efb5e14c3baaf6#n200

Thus, I propose a new notification type, `transaction-feedback-event`, that contains an enum that allows the UI to decide which sounds or feedback to play, for instance: PAYMENT_SENT, PAYMENT_RECEIVED, ERROR, idk.
TagsNo tags attached.

Relationships

child of 0009258 confirmed Informationen über erfolgreiche Aufladung / Information about successful top-up 

Activities

Christian Grothoff

2025-07-04 12:02

manager   ~0025415

As mentioned in 0009258, I think this shouldn't be a new notification type, especially as a notification clearly must already exist for these and we shouldn't do multiple notifications for the same thing. Florian, WDYT?

Florian Dold

2025-07-09 15:53

manager   ~0025462

When does the sound need to play? We should spec that out first.

Then, we should not use a new notification type for that. Instead, I would suggested (sticking to state machine terminology) to add a *label* to transitions. Based on the label (paid, error-retry, user, ...), the UI could then decide whether to play a payment sound or not.

Christian Grothoff

2025-07-30 00:22

manager   ~0025579

We have two sounds, I'd play one whenever our balance ultimtely increases (withdraw completed, p2p receive completed) and the other whenever it decreases (successful payment, deposit, p2p-send accepted).

Issue History

Date Modified Username Field Change
2025-07-04 11:54 avalos New Issue
2025-07-04 11:54 avalos Description Updated
2025-07-04 11:56 avalos Relationship added child of 0009258
2025-07-04 12:02 Christian Grothoff Note Added: 0025415
2025-07-04 12:02 Christian Grothoff Assigned To => Florian Dold
2025-07-04 12:02 Christian Grothoff Status new => assigned
2025-07-04 12:03 Christian Grothoff Status assigned => feedback
2025-07-09 13:54 Christian Grothoff Target Version => 1.1
2025-07-09 15:53 Florian Dold Note Added: 0025462
2025-07-09 15:53 Florian Dold Assigned To Florian Dold => avalos
2025-07-30 00:21 Christian Grothoff Assigned To avalos =>
2025-07-30 00:21 Christian Grothoff Status feedback => confirmed
2025-07-30 00:21 Christian Grothoff Product Version => 1.0
2025-07-30 00:21 Christian Grothoff Target Version 1.1 => post-1.0
2025-07-30 00:22 Christian Grothoff Note Added: 0025579