Nextcloud repair steps: Is there a way to distinguish between app deactivation and deinstallation?


According to the Nextcloud developer manual ( repair steps that are registered as type “uninstall” will be run on both app deactivation and app deinstallation.

Is there a way to explicitly identify if a deactivation (i. e. assuming an app will be re-activated at a later date) or a deinstallation is taking place when the repair step is run?

Thank you very much!
With best regards,

From an API perspective it looks like this distinction is not possible right now.