nextcloud / nextcloud/android

Notification problem if the application is connected to several accounts (doesn't switch)

Open
#10,495 6 comments 1 reaction 0 assignees View on GitHub
approved bug feature: activity and notification feature: authentication
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

Hi !

### Steps to reproduce
1. Connect your application to two accounts on two different instances (e.g. user A and user B)
2. For the test, have your application open on account A and do whatever it takes to get a notification from the server of user B's instance to user B
3. Once this is done, you should receive the notification to user B in the Android system notifications (application notifications). When you click on it, you should arrive in the application notifications tab, as user B, but the problem is that you arrive in user A's notifications tab (with other notifications or none at all ... at least nothing to do with user B because the application has remained in user A's interface).

### Expected behaviour
By doing all this, the application should switch to user B to allow me to access the correct information (so that I can also browse user B's files if the notification was about files).

### Actual behaviour
The application has not switched and remains on User A's interface.

### Can you reproduce this problem on https://try.nextcloud.com?
I don't think this is possible or even useful. In any case, I always have the problem, regardless of the instances and accounts used. The application does not switch.

### Environment data
Android version: 12
Device model: Xiaomi 11T 5G
Stock or customized system: Stock
Nextcloud app version: 3.20.3
Nextcloud server version: 24.0.2 and 23.0.6
Reverse proxy: None

### Logs
Can be provided if necessary

#### Nextcloud log (data/nextcloud.log)
Can be provided if necessary

Best regards,
Jérôme

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.