1
0

android: add comment that OS push notifications are broken

This commit is contained in:
SomberNight
2024-09-19 16:46:07 +00:00
parent 3ec16a08e5
commit 7b1d088d32

View File

@@ -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