digitalfabrik / integreat-app

React JS and React Native App for Integreat
https://integreat.app
MIT License
45 stars 15 forks source link

IGAPP-1206: Delete all push notification subscriptions except current one #2142

Open jira-to-github-migrator[bot] opened 10 months ago

jira-to-github-migrator[bot] commented 10 months ago

steffenkleinle - 25.1.2023, 15:56:52

Expected behavior:

Actual behavior:

Steps to reproduce:

 

Only fix I can imagine is with some backend firebase functionality that should be implemented here: https://github.com/digitalfabrik/integreat-cms/issues/1043. Either we should get all subscriptions from the cms and then unsubscribe from all but current in the frontend or directly call an unsubscribe all endpoint of the cms. Keep in mind that is also possible to be subscribed to one channel multiple times in which case unsubscribing more then once is necessary.

Environment: - Linked issues:

jira-to-github-migrator[bot] commented 10 months ago

Martin Lehmann - 13.7.2023, 11:19:56

When sending news from test environment "https://cms-test.integreat-app.de/" location "Testumgebung" push notifications are sent to production environment but not in test. I'll open a new bug for that, because after fixing this I can test changing locations.

Martin Lehmann - 14.7.2023, 08:28:13

see INFRA-362