ChickenHook / RestrictionBypass

Android API restriction bypass for all Android Versions
Apache License 2.0
624 stars 91 forks source link

Support Android 14 #10

Open Goooler opened 1 year ago

Goooler commented 1 year ago

https://developer.android.com/about/versions/14/overview https://developer.android.com/guide/app-compatibility/restrictions-non-sdk-interfaces#android-14-lists

SarotecK commented 1 year ago

Hi, started to run my tests

AndroidDeveloperLB commented 1 year ago

Currently it seems to run fine, no?

SarotecK commented 1 year ago

ys its still working. No need to investigate yet.

AndroidDeveloperLB commented 1 year ago

@SarotecK Maybe check when Android 14 is final. For now, seems working. I wonder though if it's safe to publish apps that use this library on the Play Store. Do you know, perhaps?

SarotecK commented 1 year ago

Well, beside of the reasons google mentions: https://developer.android.com/guide/app-compatibility/restrictions-non-sdk-interfaces

I did a quick search and didn't find anything in google play content policy telling that hidden api access is a violation. However, this might be still no evidence.

https://support.google.com/googleplay/android-developer/search?q=restricted+API&count=32 https://support.google.com/googleplay/android-developer/search?q=hidden+API&count=16

Also you could try to change your use-cases to a behaviour that doesn't require hidden API access. Sometimes a particular feature might not be worth the risk.

AndroidDeveloperLB commented 1 year ago

I see. Wonder if there are some apps on the Play Store that uses this or another.

denzay commented 1 month ago

Hey @SarotecK

When targeting AndroidSDK 34 I'm getting SecurityException when RestrictionBypass calls getDeclaredMethod for setHiddenApiExemptions. With AndroidSDK 33 it is still working. Is it a fixable issue?

изображение