Skip to content

This is a library that can bypass the hidden api restriction on Android 9-12.

Notifications You must be signed in to change notification settings

MurrayDu/bypassHiddenApiRestriction

 
 

Repository files navigation

BypassHiddenApiRestriction

This is a library that can bypass the restrictions on non-SDK interfaces on Android 9-12.

How it works

另一种绕过Android 9以上非SDK接口调用限制的方法

Usage

1. Add dependency in build.gradle

allprojects {
    repositories {
        mavenCentral()
    }
}
dependencies {
    implementation 'io.github.windysha:bypassHiddenApiRestriction:1.0.2'
}

2. Add this code to your Application.attachBaseContext

import com.wind.hiddenapi.bypass.HiddenApiBypass

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
    HiddenApiBypass.startBypass();
}

License

Copyright 2021 WindySha
Apache License, Version 2.0
http://www.apache.org/licenses/LICENSE-2.0

About

This is a library that can bypass the hidden api restriction on Android 9-12.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 47.2%
  • C++ 38.0%
  • CMake 7.4%
  • Kotlin 3.7%
  • Java 2.6%
  • Assembly 1.1%