Browse Source

android: add comment that OS push notifications are broken

master
SomberNight 1 year ago
parent
commit
9b1ccb9978
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 3
      electrum/gui/qml/qeapp.py

3
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

Loading…
Cancel
Save