-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Description:
Currently, our push notifications are generic and lack specific details about the event that triggered them. Users receive a simple "New Mostro Event" message, which does not provide enough context to understand what is happening or what action is required. This forces users to open the app to get more information, leading to a less efficient and less user-friendly experience.
TODO:
-
Full Message Decryption: The system should decrypt incoming messages to understand their content and trigger relevant notifications.
-
Action-Based Notifications: Instead of a generic message, users will now see specific titles like "Payment Required" or "Bitcoin Released," with tailored content such as "Please pay the hold invoice of 1000 Sats."
-
Enhanced Payload and Deep Linking: Notifications will carry a rich payload with details like event ID, order ID, and the specific action, enabling deep linking to the relevant screen in the app.
-
Robust Error Handling: A fallback to a generic notification is in place in case of any message decryption or parsing failure.
-
Localization: Support for English, Spanish, and Italian has been added to provide notifications in the user's preferred language.
-
Background Service Integration: The notification system works seamlessly whether the app is in the foreground or background.
-
Add expandable notifications: Implemented BigTextStyleInformation for both action-based
and generic notifications so users can see complete messages
This PR was the first attempt of doing this but it's deprecated: #216 you can take some interesting part of code from there
Here some suggestions of how clients can handle mostrod messages: https://mostro.network/protocol/message_suggestions_for_actions.html
Benefits:
These changes will significantly improve the user experience by providing timely, relevant, and actionable information directly in the notifications. This will make the trading process on Mostro more intuitive and user-friendly, reducing the need for users to manually check the app for updates.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status