Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Android 14 #10

Open
Goooler opened this issue Mar 10, 2023 · 7 comments
Open

Support Android 14 #10

Goooler opened this issue Mar 10, 2023 · 7 comments
Assignees

Comments

@Goooler
Copy link
Contributor

Goooler commented Mar 10, 2023

@SarotecK SarotecK self-assigned this Mar 21, 2023
@SarotecK
Copy link
Member

Hi, started to run my tests

@AndroidDeveloperLB
Copy link

Currently it seems to run fine, no?

@SarotecK
Copy link
Member

SarotecK commented Jun 7, 2023

ys its still working. No need to investigate yet.

@AndroidDeveloperLB
Copy link

@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
Copy link
Member

SarotecK commented Jun 8, 2023

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

  • Depends on the API you are using. Some internal API might be updated more frequently compared to others. You could check the how often the corresponding API function was changed in the last years.
  • Allways check the developer content policy (https://play.google.com/about/developer-content-policy/)

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
Copy link

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

@denzay
Copy link

denzay commented Aug 5, 2024

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?

изображение

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants