Enabling R8 code obfuscation:
App > build.gradle
debug {
signingConfig signingConfigs.debug
}
release {
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;
unzip app-debug.apk | |
brew install jadx | |
jadx classes.dex | |
or | |
open in android studio | |
Reference: |
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\
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 |