Skip to content
Proyek

tiann/FreeReflection

Lihat di GitHub

Tentang

Pustaka yang memungkinkan Anda menggunakan refleksi tanpa batasan apa pun pada versi di atas Android P.

Alat pengembangan

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
-5

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

FreeReflection

FreeReflection is a library that lets you use reflection without any restriction above Android P (includes Q and R).

Usage

  1. Add it in your root build.gradle at the end of repositories(jitpack):
allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}
  1. Add dependency to your project(jcenter):
implementation 'com.github.tiann:FreeReflection:3.1.0'
  1. Add one line to your Application.attachBaseContext :
@Override
protected void attachBaseContext(Context base) {
    super.attachBaseContext(base);
    Reflection.unseal(base);
}

Then you can use the reflection API normally, all the restrictions are gone. Enjoy yourself :)

Under the hood

Donations

If you like this project, buy me a cup of coffee! :)

BitCoin: 39Wst8oL74pRP2vKPkPihH6RFQF4hWoBqU

License

MIT License

Jelajahi proyek terkait

Memuat…