Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Stopping and resuming instances

Sharing widgets across applications

The assumption in the documentation above is that each application will want to maintain widget states in isolation from other applications - for example, that it is not desirable to potentially mix up the states of widgets run by users in different contexts.

However, if you are careful about how each plugin issues its SharedDataKey it is possible to operate with shared widgets.

For example, it is possible to have a single shared widget state for the same group of users in two different applications if they issue a matching SharedDataKey for the context, matching UserIds for users, and use the same API Key.

Obviously this is something that needs careful attention in configuring the plugins for the applications.