Skip to content

Instantly share code, notes, and snippets.

View ryanbrookepayne's full-sized avatar

Ryan Payne ryanbrookepayne

View GitHub Profile
@twaddington
twaddington / charles-proxy-android.md
Last active June 18, 2024 13:24
How to set up Charles Proxy for the Android Emulator.

Charles Proxy Android

Note: Consider using mitmproxy instead of Charles. There is better, more recent, documentation for using mitmproxy on Android.

Steps

1. Add the Network Security Configuration to your app

@y-polek
y-polek / doze_mode_adb_commands.sh
Last active May 30, 2024 22:25
adb commands to test Doze mode
#! /bin/zsh
# Buttery powered state
adb shell dumpsys battery | grep powered
# Unplug battery
adb shell dumpsys battery unplug
# Reset battery
adb shell dumpsys battery reset