Android push notifications display a session error instead of the message (Mattermost Mobile 2.46.1)

Applies to: Mattermost Mobile for Android 2.46.1, users who sign in with SSO, servers with Push Notification Contents set to "Full message content fetched from the server on receipt"

Symptoms: Android push notifications show "Invalid or expired session, please login again." with the sender shown as "Someone", while the user is still logged in


🛑 Problem

After updating to Mattermost Mobile 2.46.1 on Android, users who sign in with SSO receive push notifications that read Invalid or expired session, please login again. instead of the message. Signing out and back in, reinstalling, or rebooting the device does not resolve it.

When a notification arrives, the Android app makes a background request to the Mattermost server. In version 2.46.1, this request is sent without the user's credentials for SSO sessions, so the server rejects it. When Push Notification Contents is set to Full message content fetched from the server on receipt (id_loaded), the app shows the server's error text in place of the message.

This is a defect in the Android app, not a server configuration issue.


âś… Solution

This issue is fixed in Mattermost Mobile 2.46.2 for Android, available on Google Play. No server change is required.

Step 1 — Update the Android app to 2.46.2

Have affected Android users update the Mattermost app to version 2.46.2 or later from Google Play, or through your organization's app distribution.

Step 2 — Confirm the fix

After updating, send a test message to an affected user while the app is in the background. The notification should show the sender and message content.

📝 Note: If you changed Push Notification Contents to a generic format while waiting for the fix, set it back to Full message content fetched from the server on receipt once your Android users have updated.

Additional Resources

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.