Skip to content

Conversation

@tobiasKaminsky
Copy link
Member

@tobiasKaminsky tobiasKaminsky commented Nov 28, 2025

It seems that after app restart the hash is different and thus account switching for the very first time does not work.

To test:

  • install & config master
  • adb shell pm clear com.nextcloud.client
  • open app and try to switch account
    --> fails
  • test above with this PR -> works
  • Tests written, or not not needed

@alperozturk96 alperozturk96 merged commit af85f82 into master Nov 28, 2025
13 of 20 checks passed
@alperozturk96 alperozturk96 deleted the userSwitch branch November 28, 2025 13:30
@github-actions
Copy link

@github-actions
Copy link

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/16026.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@github-actions
Copy link

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

@AndyScherzinger
Copy link
Member

@tobiasKaminsky could this also be the issue with account switching via the ecosystem header in the notes app drawer?
Also didn't work in the recent past and also used a hash.

@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.35.0 milestone Nov 30, 2025
Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for fixing this! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Account switcher sometimes does not react

5 participants