Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
allow "panic button" apps to wipe activity #133
This is a great app, I'm very excited to see a free software youtube player, and I like the nice, simple UI!
We (Guardian Project) have been developing "panic button" features in our apps for years, and now we are working to make a more flexible and open ecosystem of apps that can both trigger other apps, or respond to triggers. Since many people search for private topics on youtube, NewPipe is a natural panic responder app. This setup allows for easy configuration of a single trigger action which can then trigger multiple apps.
This single commit wipes NewPipe from the Recent Apps then exits when it is responding to a panic trigger. Since NewPipe does not currently save the searches or current video, that has the effect of clearing the history. Once NewPipe does save history, this will need to be updated to actually clear it.
The first panic button app that sends this kind of trigger is called Ripple, and it is available here:
I'm adding support to this app right now:
This is all code that I wrote, and you can have it under any license you want, including public domain. I waive all my copyright claims to it. GPLv3 is a great license, we often use it in our apps.
You can see an example of this user experience in this video:
More info on the panic kit work here: