The reinstall policy allows a plugin to determine how it reacts when its image is updated on the server. The policy can be set on the entire plugin and also overriden for a specific activity.

Because of the nature of OSGi, references to the classes will have the same name but will be different types. It is important for activites to manage possible runtime exceptions.

Policies

DEFAULT

The default policy as defined by the system.

IGNORE

Do nothing. The user will see an alert in the notification center. The plugin may not function if it uses any classes that were replaced.

RESTART

Restart all activities without saving or prompting. Each activities will be restarted with the same intent, and in the same task.

SHUTDOWN

Terminates all activities without saving or prompting.

SAVE_SHUTDOWN

Terminates all activities with a prompt to save.