Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow "panic button" apps to wipe activity #133

Merged
merged 1 commit into from Jan 1, 2016

Conversation

Projects
None yet
2 participants
@eighthave
Copy link
Contributor

commented Dec 31, 2015

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:
https://github.com/guardianproject/ripple
https://play.google.com/store/apps/details?id=info.guardianproject.ripple

I'm adding support to this app right now:
https://panicbutton.io/
https://play.google.com/store/apps/details?id=org.iilab.pb

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:
https://www.youtube.com/watch?v=mS1gstS6YS8

More info on the panic kit work here:
https://dev.guardianproject.info/projects/panic/wiki

after receiving panic trigger, quit remove from history
This makes the app fully exit, and removes it from the Recent Apps listing
with the goal of hiding whatever the user was currently watching, and/or
searching for.

PanicKit provides a common framework for creating "panic button" apps that
can trigger actions in "panic responder" apps.  In this case, the response
is to lock the app, if it has been configured to do so

https://dev.guardianproject.info/projects/panic/wiki
@theScrabi

This comment has been minimized.

Copy link
Member

commented Jan 1, 2016

Al right thanks. Also if you are interested, we are currently working on orbot support: #39.
Here is the branch:
https://github.com/gjedeer/NewPipe

theScrabi added a commit that referenced this pull request Jan 1, 2016

Merge pull request #133 from eighthave/panic-button-support
allow "panic button" apps to wipe activity

@theScrabi theScrabi merged commit 12d1d99 into TeamNewPipe:master Jan 1, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@eighthave eighthave deleted the eighthave:panic-button-support branch Jan 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.