Separate window or instance for each Webxdc

At the moment there are different variants for each OS to open multiple Webxdcs. On Linux desktop you can open for example two editor Webxdcs and copy-paste stuff from one to another app which is convenient.

If you try to open two Webxdcs on Android you see it is not possible: if you open one app, the other gets closed.

So if you open another Webxdc, your old view is not stored and gets reset on the next opening.

What do you think about it? Has it any security or data-mix implications? Or is it possible to start each Webxdc as it own app instance on each OS? (at least Linux on desktop its handy :wink: )

I assume you are asking why you can not have multiple webxdc windows on mobile, generally we came to the conclusion that it is too complex to implement and maintain, but also:

  • iOS: your app can only have one window, so you would need to emulate multiple windows maybe with tabs like telegram mini apps
  • android: apps can have multiple activities / windows, but technically it is a challenge to communicate with them and user side might also be a challenge, because most people are probably not really used to an app having multiple windows

I don’t understand the rest of your question.

If there are no security considerations or data race conditions simply ignore the rest of my post.

On Android imagine the following user story:

  • The user has created shortcuts on his desktop for two Webxdcs
  • Then he opens A
  • Pushes home button
  • Opens B
  • Now he taps the square (or “task list button”) two times and expects to see A now but this is not possible

But I understand your point. It is a question of how to look on Webxdcs. It could be enabled in settings, or Webxdcs run by shortcut could act like real apps.

Tabs (on iOS) make no sense at all I think.

1 Like