Openhab-android: Status bar notification not cleared when visiting notifications page

Created on 7 May 2019  路  5Comments  路  Source: openhab/openhab-android

Actual behaviour

Status bar notification isn't cleared when visiting the notification page in the app

Expected behaviour

Status bar notification should be cleared

Steps to reproduce

  1. Get a notification from the server
  2. Open app from launcher
  3. Go to notification page via drawer

Can you reproduce the issue in demo mode?

No (no notifications in demo mode)

Client

  • Android version: 9
  • Device model: OnePlus 6
  • Stock or customized ROM: LineageOS 16.0
  • App version: 2.6.19 beta
  • Build flavor : full
  • Device language: DE

Server

  • Server version: 2.4
  • Reverse Proxy: no
  • Authentication method : none

openHAB Cloud

  • openHAB Cloud version: myopenhab
  • Self hosted cloud or myopenhab.org: myopenhab
  • Authentication method : user/pw
Hacktoberfest bug good first issue help wanted

Most helpful comment

I'd like to work on this issue.

All 5 comments

I'd like to work on this issue.

@Kshitij09 You can register here (use dummy values for openHAB UUID and secret. After logging in, hover over your mail address and click on "Devices". You can send a message to your device from there.
In the app go to settings, remote connection, enter "https://myopenhab.org" as URL and your address and password as user name and password.

Okay. Thanks! I'm working on this issue now. Could you assign it to me ? Will make sure it'll be done as soon as possible.

Go for it :)

I've made changes to clear notification from current as well as other devices logged in by same user. The reason I didn't commit these many days was I thought the FCM should clear notification from same device as well, which it wasn't. After clarification from @maniac103 I got to know how it is supposed to work and hence I've implemented both of them. Let me know if any other changes to be done.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dakipro picture dakipro  路  11Comments

kubawolanin picture kubawolanin  路  13Comments

cribskip picture cribskip  路  8Comments

Bryan76 picture Bryan76  路  8Comments

MikeJMajor picture MikeJMajor  路  3Comments