I wonder when the app that wipes your phone if the GPS shows it to be at a police station or an evidence lockup will come out and what are the repercussions of having such an app will be.
Courts take an extremely dim view of the willful destruction of evidence.
However a self destruct mechanism that is either on a rolling timer or event driven for which you don’t need to take an action to initiate it but must take an action to stop it could be a legal loophole but it sure won’t look good in court.