MIUI-Autostart icon indicating copy to clipboard operation
MIUI-Autostart copied to clipboard

Google Play warning

Open hesCalledAJ opened this issue 4 months ago • 13 comments

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

hesCalledAJ avatar Sep 13 '25 06:09 hesCalledAJ

@alijafari-gd any update on this?

nikunjanaghan avatar Sep 19 '25 12:09 nikunjanaghan

any update on this ?

joshisijan avatar Sep 19 '25 13:09 joshisijan

@alijafari-gd any update on this?

No , i temporarily disabled it for now

hesCalledAJ avatar Sep 19 '25 13:09 hesCalledAJ

Hi, thank you for the report, will update the library ASAP.

XomaDev avatar Sep 20 '25 12:09 XomaDev

any update ?

shehabmohamed0 avatar Sep 22 '25 01:09 shehabmohamed0

@alijafari-gd @XomaDev I think its because of org.lsposed.hiddenapibypass.HiddenApiBypass

nikunjanaghan avatar Sep 22 '25 05:09 nikunjanaghan

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 avatar Sep 22 '25 12:09 XomaDev

@XomaDev You just upgrade libs. that would not work i think. because hidden apis are prohibited as per play policy.

nikunjanaghan avatar Sep 23 '25 04:09 nikunjanaghan

@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.

XomaDev avatar Sep 23 '25 07:09 XomaDev

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.

XomaDev avatar Sep 23 '25 09:09 XomaDev

dependenciesInfo {
        includeInApk = false
        includeInBundle = false
}

Unfortunately, it might lead to issues on GoogPlay review.

fmaxx avatar Oct 09 '25 05:10 fmaxx

Same issue

balshweiki-spec avatar Oct 09 '25 07:10 balshweiki-spec

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.

XomaDev avatar Oct 09 '25 14:10 XomaDev