-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Android bug on new message received #1520
Labels
bug
Something isn't working
Comments
2 tasks
Caused by notification triggered when a message was sent as sender on Android device;
and bandaided with const notificationBody =
((data as any).notification?.data?.body as string | undefined) || // Protocol notifications use body (legacy, to support older versions of the app)
((data as any).notification?.data?.data as string | undefined); // Converse notifications use data (legacy, to support older versions of the app)
if (!notificationBody) {
logger.error(
`${Platform.OS} ${BACKGROUND_NOTIFICATION_TASK}: No notification body found`
);
return;
} |
bandaided here: f4824a4 |
gonna close - we'll figure out notifications later in a more consoldiated way |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Expected behavior
No response
Steps to reproduce the bug
No response
The text was updated successfully, but these errors were encountered: