Choose between HiddenApiBypass and LSPass
mainThe library provides two variants for bypassing restrictions. They share the same API, so you can switch between them by replacing the class name.
| Feature | HiddenApiBypass | LSPass |
|---|---|---|
| Mechanism | Uses Unsafe | Uses Property.of() |
| Pros | Reliable, stable on Android 10+, pure Java | Faster initialization, no Unsafe usage |
| Cons | Uses Unsafe | May be blocked by future Android releases |
Use LSPass if you want to avoid Unsafe, but use HiddenApiBypass if you require maximum reliability against future platform restrictions.