gdlow / brickguard

Android app that sets up a VPN tunnel with an internal DNS resolver targetted at blocking ads + adult domains
GNU General Public License v3.0
14 stars 3 forks source link

No way to unblock #4

Open Mahendra-Gohil opened 3 years ago

Mahendra-Gohil commented 3 years ago

One content is blocked there is no way to unblock, even if uninstall app then also content no unblocked. can you please help to resolve it.?

gdlow commented 3 years ago

Hey @Mahendra-Gohil,

Thanks for writing in - could you describe how to reproduce the issue?

Stopping the VPN service will clear any rules. You can do this within the app. If you've uninstalled the app, the VPN service should stop as well. Otherwise, try restarting your device.

FWIW, here is where the host rules get loaded into memory: https://github.com/gdlow/brickguard/blob/master/app/src/main/java/com/gdlow/brickguard/util/RuleResolver.java

And here is where the app resolves any aliases: https://github.com/gdlow/brickguard/blob/master/app/src/main/java/com/gdlow/brickguard/provider/Provider.java#L79

Gerald