Button for switching to Flutter-web-app gone

Hello,

I’m confused. For some testings I had to switch to React-web-app, but now the button for switching back to Flutter seems to be gone.

Is this the wanted behavior?

Greetings!

Hi,

@david any ideas?

You can run this SQL command to manually switch.

UPDATE accounts SET set_react_as_default_ap = 0;

Note: in general we recommend using the React web app or the Flutter desktop app, the Flutter web app will eventually be deprecated.

Hi, Hillel,

ah, that’s a valuable information! I didn’t think that the Flutter-web-app could be deprecated (until today).

Phew, hope to get the desktop-app compiled on my Linux. We’ll see. Otherwise I’ll try the SQL-command!

Thanks a lot!

Why compile the Linux app rather than download the Snap or Flatpak?

1 Like

Yes, that’s quite better. While my Linux does not have a Snap-package I’ll try the Flatpak. Let’s see. Thank you!

Thanks again. Flatpack did it!

Glad to hear it, thanks for the update!

@hillel

Yes, the update now assumes users are using the desktop applications to access the app and not flutter web and that React is now the default AP for new installations.

Existing installations that user Flutter Web are not impacted.

1 Like

today i checked for updates, because i don`t get any update notifications for long time in my react version and in my old flutter version 5.8.50 it was possible to oswitch between the flutter and the react app, but after update with an error 500 but still updating i can`t switch between the two version.

Do I understand that correctly that`s now no longer possible to switch to flutter app, even if i change the value in the accounts table ? (for information purposes only)

Is it even possible that the update notification icon in the react app not showing, like in the flutter app in the left bottom corner ?

I believe you should be able to switch by running this SQL query:

UPDATE accounts SET set_react_as_default_ap = 0;

hi @hillel,

no this has no effect, it still stays in the react app

Which version of the app are you using?

react app v14.04.2024.1
and Flutter app accoring in the Version.txt is 5.10.13

@david do you have any ideas?

same issue here… (flutter admin panel · Issue #9808 · invoiceninja/invoiceninja · GitHub)
UPDATE accounts SET set_react_as_default_ap = 0 seem not to work anymore since v5.10.11; when set to 0 => react app is still selected @ login

Most likely, in your public/ directory there is a file index.html that is ibeing executed first before the index.php

if you delete the index.html file, the flutter web app will appear as expected. As part of the update process, we do attempt to delete this file if you use the self-updater.

Yep, that solved the problem! thanks!