Opening a push notification to a different instance causes broken state

(#2250) Bug Fixed mobile

Observed behaviour

While the app is loading, you can briefly see the "We fluxed up" screen before getting sent to the correct instance. The previously selected instance (my case: my fluxer.com account) now is listed as "expired", I am seemingly logged out of it. The username is still there, but it's URL is listed as the other (my case: my self-hosted instance) URL, not fluxer.com. Clicking on this account entry fills in my fluxer.com username into the email field of the login screen, also with my self hosted instance selected instead though. Even after restarting the app, this persists. But in the background I'm still logged into the instance with the broken state. I could tell because I still receive push notifications from it. After extensive testing I can also say that this doesn't happen in 100% of cases. Other times, clicking the notification would open Fluxer but then not send me to the other instance at all. In this scenario, the "expired" issue does not happen.

Reproduction steps

  1. I logged into the Android app with my fluxer.app account (btw now automatically assigned fluxer.com in the app)
  2. I also added my account on my self hosted instance
  3. I switched back to my fluxer.app account
  4. I closed the app
  5. Receive and tap on a push notification from my self-hosted instance

Build information

Version 2026.09.100, Beta 4, Channel Beta, Build 2547, Android 16 (arm64), Device samsung SM-S918B, Locale en-GB, Push fcm, Flutter 3.47.5, Dart 3.13.4

Platform

Android

Details

Expected behaviour The app opens to the instance that the notification came from with no other issues
  • AISelect_20260928_211607_Samsung_capture.jpg

    AISelect_20260928_211607_Samsung_capture.jpg

    1410×1135 | 233 kB

  1. Rex changed the status from Needs triage to Fixed

2 comments

Sign in with Fluxer to comment and vote.
Comment by probablyjassin
probablyjassin OP1 vote Fixed for me
Can no longer reproduce Version 2026.10.100, Beta 2, Channel Beta, Build 2591, Android 16 (arm64), Device samsung SM-S918B, Locale en-GB, Push fcm, Flutter 3.47.6, Dart 3.13.5