Skip to content

Instantly share code, notes, and snippets.

View Prasanth-Shakti's full-sized avatar
🎯
Focusing

Prasanth Prasanth-Shakti

🎯
Focusing
  • Bangalore
View GitHub Profile
@Prasanth-Shakti
Prasanth-Shakti / Android-code-obfuscation.md
Last active October 7, 2023 23:53
Enabling android code obfuscation in react native with R8 and proguard rules

Android code obfuscation in react native

Enabling R8 code obfuscation:

App > build.gradle

debug {
        signingConfig signingConfigs.debug
    }

release {

@Prasanth-Shakti
Prasanth-Shakti / SSL_Pinning_For_Android.md
Last active September 3, 2023 03:46
React Native - SSL Pinning for Android

React Native - SSL Pinning for Android Using Okhttp

MainActivity.java

Add Headers

import com.example.app.OkHttpCertPin;
import android.os.Bundle;
import com.facebook.react.modules.network.OkHttpClientProvider;
@Prasanth-Shakti
Prasanth-Shakti / Markdown.md
Last active January 1, 2022 09:34
Markdown Cheatsheet

Markdown Cheatsheet

Headings

# Heading level 1
## Heading level 2 
....

Paragraphs

I really like using Markdown.

Bold

I just love **bold text**.

Italic

@Prasanth-Shakti
Prasanth-Shakti / open_classes_file_apk.txt
Last active August 26, 2021 17:00
Extract classes.dex in apk
unzip app-debug.apk
brew install jadx
jadx classes.dex
or
open in android studio
Reference:
@Prasanth-Shakti
Prasanth-Shakti / Android Release apk.md
Last active September 3, 2022 18:38
Generating Android Release apk

Generating Android Release apk.

keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

Set a store password: XXXX

what is your first and last name?
[Unknown]: XXX
What is the name of your organizational unit?
[Unknown]: XXXX\

@Prasanth-Shakti
Prasanth-Shakti / Chrome Shortcuts.txt
Last active August 26, 2021 08:56
Chrome useful shortcuts for quick productivity
All shortcuts are not included only the most useful ones.
ctrl + w = close current window
ctrl + shift + w = close all windows
ctrl + R = Reload page
ctrl+T = new Tab
ctrl + shift + T = reload last closed page