From 9b1ccb99788ec0832966905bfee4d061379c6d10 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 19 Sep 2024 16:46:07 +0000 Subject: [PATCH] android: add comment that OS push notifications are broken --- electrum/gui/qml/qeapp.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/electrum/gui/qml/qeapp.py b/electrum/gui/qml/qeapp.py index 692bc68cc..213ace0ae 100644 --- a/electrum/gui/qml/qeapp.py +++ b/electrum/gui/qml/qeapp.py @@ -146,6 +146,9 @@ class QEAppController(BaseCrashReporter, QObject): pass def doNotify(self, wallet_name, message): + self.logger.debug(f'sending push notification to OS: {message=!r}') + # FIXME: this does not work on Android 13+. We would need to declare (in manifest) + # and also request-at-runtime android.permission.POST_NOTIFICATIONS. try: # TODO: lazy load not in UI thread please global notification