ThingsBoard Platform Version
v4.3.1.1
Affected platforms
Android
ThingsBoard Platform Type
ThingsBoard PE Cloud
App Release Version
1.8.1
App type
ThingsBoard Cloud app
Steps to reproduce
- Log in to the ThingsBoard Mobile App.
- Ensure push notifications are enabled and alarm notifications are working correctly.
- Leave the app unused until the authentication token expires (or wait for the automatic logout to occur).
- Confirm that the user has been automatically logged out (without manually logging out).
- Trigger a new alarm notification for the same user/device.
Expected results
- Once the user has been automatically logged out because the authentication token has expired, the application should no longer receive push notifications.
- The FCM token should either be removed, unregistered, or ignored after the session becomes invalid.
- Push notifications should only be delivered to authenticated users with an active session.
Actual results
- Even after the application has automatically logged out due to token expiration, the device continues to receive alarm push notifications.
- This means notifications are delivered to a user who is no longer authenticated.
- This is a security and privacy concern because notifications continue to be received after the session has ended.
Additional information
This is a critical issue and should be addressed as soon as possible.
If fixing this requires changes in a future mobile app release that may take some time, could you please provide:
- A temporary workaround, or
- The required code changes to unregister/delete the FCM token when the user is automatically logged out due to token expiration.
ThingsBoard Platform Version
v4.3.1.1
Affected platforms
Android
ThingsBoard Platform Type
ThingsBoard PE Cloud
App Release Version
1.8.1
App type
ThingsBoard Cloud app
Steps to reproduce
Expected results
Actual results
Additional information
This is a critical issue and should be addressed as soon as possible.
If fixing this requires changes in a future mobile app release that may take some time, could you please provide: