Ios: Push notifications are still received

Created on 15 Jun 2020  路  8Comments  路  Source: nextcloud/ios

  • have an "old" client installed
  • add two accounts
  • test push on both accounts
  • remove one account
  • send push to this deleted account
  • see notification, but "no decrypt" or just a plain "Notification" shown

Expected behaviour:

  • Show only notification if notification is still valid on server and content can be retrieved
  • do not show "empty" notifications
  • remove push token on app removal / account removal

When I completely remove the app and try it again, I could not reproduce it.

bug

Most helpful comment

I could take a look at it @marinofaggiana ;)

All 8 comments

I experience the same. cc @marinofaggiana

@Ivansss do you have a little time ? :-)

I could take a look at it @marinofaggiana ;)

@Ivansss @MorrisJobke I still run into this

Sorry for my late reply here.

The app should unregister the user from the push proxy and from nextcloud notifications when removing the account.
If this process fails for some reason, the app will still receive push notifications that the app can't hide neither decrypt.

I think the only solution for this problem then it's to remove the "old app token" (the one the app was using for that user) from Settings -> Security using the web interface.
This will make the push proxy realize that it should not send more pushes to this app token.
Re-installing the app will make the trick too, since the push token of the app will be different. But that's a worse solution in my opinion.

If this process fails for some reason, the app will still receive push notifications that the app can't hide neither decrypt.

So all notifications need to be shown? There is no way to just hide them? Because that would be one way to avoid this.

But let me check if I can trigger this error again.

So all notifications need to be shown? There is no way to just hide them? Because that would be one way to avoid this.

We can't hide them no :( We were able to hide them before when we were using VoIP pushes, but that's not possible any more.

Resolved now 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MorrisJobke picture MorrisJobke  路  4Comments

koarlmichael picture koarlmichael  路  3Comments

helmut72 picture helmut72  路  4Comments

khlschrnk picture khlschrnk  路  5Comments

rakekniven picture rakekniven  路  4Comments