Skip to content

Instantly share code, notes, and snippets.

@ChrisGi
ChrisGi / talback commands
Created January 7, 2021 11:49
Commands to toggle TalkBack
// disable
adb shell settings put secure enabled_accessibility_services com.android.talkback/com.google.android.marvin.talkback.TalkBackService
// enable
adb shell settings put secure enabled_accessibility_services com.google.android.marvin.talkback/com.google.android.marvin.talkback.TalkBackService
@ChrisGi
ChrisGi / buil.gradle.kts
Created July 29, 2020 15:06
Crashlytics NDK configuration
maybeCreate("realease").apply {
configure<CrashlyticsExtension> {
nativeSymbolUploadEnabled = true
// https://github.com/firebase/firebase-android-sdk/issues/1684
strippedNativeLibsDir = "../core/build/intermediates/stripped_native_libs/arm_Arm64ProdRelease/out/lib/"
unstrippedNativeLibsDir = "../core/build/intermediates/cmake/arm_Arm64ProdRelease/obj/"
}
}
// Upload Crashlytics NDK symbols only for release
@ChrisGi
ChrisGi / txt
Created July 6, 2017 07:59
Maven and Git snippets
// M change versions in all pom
mvn versions:set -DnewVersion=2.50.1-SNAPSHOT
mvn versions:commit
@ChrisGi
ChrisGi / lint_options.txt
Last active June 28, 2023 10:42
android lint all options
android {
lintOptions {
// set to true to turn off analysis progress reporting by lint
quiet true
// if true, stop the gradle build if errors are found
abortOnError false
// if true, only report errors
ignoreWarnings true
// if true, emit full/absolute paths to files with errors (true by default)
//absolutePaths true