Google Play warning
hello i used this api in my app after issuing in Google Play console for review , i received this :
We found some common issues that are preventing your app from being sent for review. You must address these issues before you can send your changes for review. Your app uses one or more unsupported APIs Your app uses API bypass SDKs that are affected by the latest updates to Android Runtime (ART). Your app may crash for users on the new Android Runtime, which is the default on Android 16 devices. Devices running Android 12 and higher (over 80% of devices) can also update to the new runtime.
Upgrade these third-party SDKs which depend on API bypass SDKs, or remove them from your app:
com.github.XomaDev:MIUI-autostart
@alijafari-gd any update on this?
any update on this ?
@alijafari-gd any update on this?
No , i temporarily disabled it for now
Hi, thank you for the report, will update the library ASAP.
any update ?
@alijafari-gd @XomaDev I think its because of org.lsposed.hiddenapibypass.HiddenApiBypass
Hi all, I apologise for the delay; I was attending a FOSS conference. Could anyone confirm whether these changes work, before I push to main?
dependencies {
implementation 'com.github.XomaDev:MIUI-Autostart:sdk36-SNAPSHOT'
}
@XomaDev You just upgrade libs. that would not work i think. because hidden apis are prohibited as per play policy.
@XomaDev You just upgrade libs. that would not work i think. because hidden apis are prohibited as per play policy.
What do you want me to do? I don't write the play policies. I have updated the dependencies with target SDK 36 as requested. Tell me if it works before I merge to the main. Thank you.
If this library is breaking Play Store policies
I couldn't find it anywhere explicitly stated that this is against play policies; it's rather a restriction.
Update to the latest version and put this in your android { .. } block:
dependenciesInfo {
includeInApk = false
includeInBundle = false
}
From Lposed/AndroidHiddenApiBypass:
Google Play doesn't allow apps to use hidden APIs, reporting library usage will cause your app to fail app review, you need to disable dependencies info reporting in build.gradle. Remember to update this library to latest version to be compatible with new Android version.
P.S:
Could someone please confirm the updated version works? In terms of functionality.
dependenciesInfo { includeInApk = false includeInBundle = false }
Unfortunately, it might lead to issues on GoogPlay review.
Same issue
I'll have to see what I can do.
Your app uses API bypass SDKs that are affected by the latest updates to Android Runtime (ART)...
They have probably blacklisted certain Android libraries which does this API bypass thing.
Although this thing doesn't really harm anyone, we are just calling system APIs to query for information. The APIs that we are querying only exist on MIUI devices.
I do not have a Xiaomi device ATM. I'll check if we have something new and useful in the MIUI framework.
Another alternative approach would be to try to write this library's functionality in C++ to avoid detection; this may or may not work.
If anyone here has a latest MIUI running device, they could extract the settings.apk via ADB and send it over to me, so I can study it.