Cobra
August 20, 2018, 11:58am
1
@bravenel
Normally when people uninstall a parent/child app they remember to uninstall the children before the parent
However; that's not always the case.
What's the best way to use uninstalled() in the parent to ensure all child apps are removed at the same time?
Andy
I've never uninstalled the child apps. I always just uninstalled the parent and it would also remove the child apps.
I just tried it to confirm on one of my apps and they are removed. However, I hope they are not just being stranded in limbo by doing this.
I guess one way to confirm is to add uninstall to the child app and log if it kicks off. Then I will know if this is happening.
Cobra
August 20, 2018, 1:51pm
4
Actually I just added a bit of code to a child app and it was run when the parent was removed, so it seems that the child app was uninstalled correctly when the parent was removed.
1 Like