ios icon indicating copy to clipboard operation
ios copied to clipboard

Cannot add multiple accounts/servers via QR Code

Open LordSimal opened this issue 2 years ago • 1 comments

Steps to reproduce

  1. Install latest version (currently 4.9.6.1) via app store
  2. Open app
  3. Login to Nextcloud A via a QR Code
  4. Try to add another Nextcloud Account to Nextcloud B via another QR Code

Expected behaviour

Both accounts are saved in the account list so they can be selected indipendently after setup

Actual behaviour

The latest account login overwrites the previous one so that only 1 account at max is available in the account list view

Screenshots

The whole video can be seen here: https://nextcloud.pfiff.me/s/Go3T3LDdWNb6foB

Logs

Here is the communications.log from the app

communication.log

I don't think your need server logs here...

Reasoning or why should it be changed/implemented?

Not having the ability to have multiple nextcloud accounts from different servers inside the app is pretty limiting for me at least since I have 3 accounts I need access to at any given time. I am also pretty sure this worked in the past since my iPhone app has multiple accounts in them (setup in an earlier version) but I am not going to touch that since this seems broken...

Environment data

iOS version: iPad OS 17.2

Nextcloud iOS app version: 4.9.6.1

Server operating system: Debian 12

Web server: Apache, nginx NGINX

Database: MariaDB 10.11

PHP version: 8.1

Nextcloud version: 28.0.0

LordSimal avatar Dec 20 '23 20:12 LordSimal

This ONLY happens if you login via QR Code. Just successfully added my accounts via normal username + password login.

LordSimal avatar Dec 20 '23 20:12 LordSimal