distriqt / ANE-HuaweiMobileServices

Shared library including the Huawei Mobile Services SDK
https://airnativeextensions.com
2 stars 0 forks source link

Google Play Rejection Notification HUAWEI SDK #4

Closed apofis1969 closed 1 year ago

apofis1969 commented 2 years ago

HI, I got this email from Google Play.

Issue with your app

Your app contains content that doesn’t comply with the Device and Network Abuse policy. We found your app is using a non-compliant version of Huawei Mobile Services SDK which contains code to download or install applications from unknown sources outside of Google Play.After 120 days, new app releases containing this non-compliant version of this SDK will be rejected. This SDK version violates Device & Network Abuse policy.Given the nature of the SDK, we request that you remove it from the version of your app submitted to the Play Store.

Issue with your app Your app contains content that doesn’t comply with the Device and Network Abuse policy. We found your app is using a non-compliant version of Huawei Mobile Services SDK which contains code to download or install applications from unknown sources outside of Google Play.

After 120 days, new app releases containing this non-compliant version of this SDK will be rejected. This SDK version violates Device & Network Abuse policy.

But I have no HUAWEI SDK. Look at the screenshot. Is this an error of Google Play or is there somewhere a HUAWEI SDK in the ANEs I am using?

Screenshot 2022-03-18 at 10 45 14
marchbold commented 2 years ago

The only extensions that we package the HMS into are the extensions in this repository, which aren't in your list.

OneSignal may have some classes that use these services if available but I don't believe they include them in their SDK.

Can you get any clarification from them on this issue?

apofis1969 commented 2 years ago

Hi, yes. I will get in contact with them. This seems to be very strange

marchbold commented 2 years ago

Yeah definitely an odd one, I haven't had anyone else get picked up for this .

apofis1969 commented 2 years ago

hi, they still complain. Look here. Now I sent a build with all the new ANEs and they still complain. ############ Hi developers

Thank you for your reply.

We found that you have resubmitted the app MyApp (air.com.xxx.xxx), however, the violation issue still exists.

As we mentioned previously, during review, we found that your app causes users to download or install apps from unknown sources outside of Google Play, which is not compliant with our Device and Network Abuse policy.

You can read through the Device & Network Abuse policy page for more details and examples of common violations.

For example, your app (Track Internal Testing Version: 3000113) is using Huawei Mobile Services SDK or library, which causes users to download or install applications from unknown sources outside of Google Play.

Please note that all active APKs (including Alpha, Beta and Internal Testing track etc.,) should be compliant with our policy. Please submit the updated app and be sure to increment the APK version number and deactivate the non-compliant APK.

Thanks for working with us to fix the policy issue and for your continued support of Google Play. ############ see the screenshot of the ANEs. What the hell is going on at Google. They want to remove the app on Google Play. The internal testing version never went online. The recent build is 3.0.270

Screenshot 2022-03-28 at 09 57 34
apofis1969 commented 2 years ago

Hi, may it be, that these badges of the push notifications create the problem? As I know Google Play does not accept Huawei anymore. com.huawei.android.launcher.permission.CHANGE_BADGE, com.huawei.android.launcher.permission.READ_SETTINGS, com.huawei.android.launcher.permission.WRITE_SETTINGS,

marchbold commented 2 years ago

Can you post your manifest? You haven't added the android.permission.REQUEST_INSTALL_PACKAGES permission or something like that have you?

You can try removing those huawei permissions but I can't see how they would cause this as they are just related to changing the notification badge number on huawei devices.

Are you downloading any content from anywhere that could be misinterpreted as an application?

apofis1969 commented 2 years ago

HI,

I do not use android.permission.REQUEST_INSTALL_PACKAGES. Please see the manifest attached. The app connects to the database server and to the streaming server. All via https and rtmp There are 3 XML files, which are used and located on the database server. But they just deliver variables and no content. They are used to display the correct Terms of Use and Privacy Policy languages, update informations and FAQs in the user language. All sheets are called via https and NativeWebView ANE. Also the build they are complaining about - internal testing - even did not have this features. They complain about Huawei SDK and that the app may be installed outside of Google Play.

android_manifest.txt

marchbold commented 2 years ago

Bit of a loss then, my only guess is that the OneSignal SDK includes some of the HMS services but that surprises me.

apofis1969 commented 2 years ago

And what can I do? Remove push notifications? This is impossible

this is the newest reply and there is no chat can help. ################## Thank you for your reply.

As mentioned previously, we found that Track Internal Testing Version: 3000113 is using Huawei Mobile Services SDK or library, and still exists in this submission.

Please confirm if you have used managed publishing.

Please contact Play Console Help Center if you need assistance on deactivating specific apk. #####################

marchbold commented 2 years ago

Maybe just try a build with the base variant of the push notifications extension and upload that to the console. It only includes fcm on android so shouldn't have any huawei references at all and will confirm if onesignal is the cause.

apofis1969 commented 2 years ago

Do you mean not to take the library of one signal? How is then the manifest? Stays the same as well as the code?

marchbold commented 2 years ago

Ah yeah, you'll have to change the manifest but that should be the only change you'll need to make.

apofis1969 commented 2 years ago

But how do I have to change the manifest. Which manifest do I have to add? I tried with the manifest I have now and the app crashes. Is all adapted for ONESIGNAL. The server sends over the rest api from onesignal the push to the receiver, if the base station realises an activity. Please help me through this. Thank you In the meanwhile I removed all deprecated code in the manifest and also the HUAWEI Badges permissions. Maybe they saw the deprecated code as well. Checking the app with policy violation does not appear anything.

marchbold commented 2 years ago

Right, so just to confirm what you have said, removing entries from the manifest resolved the issue?

I highly recommend using apm going forward as this would keep a clean manifest automatically for you.

apofis1969 commented 2 years ago

Hi, I do not know until now. I created an aab build and tested yesterday. Fact is, that the Huawei permissions are deleted and the deprecated code which I removed with <!~~ —> has been deleted as well. I will send this build today with managed publishing. And sent also all new builds to test to the internal testing. So the build they complained is deprecated. But I can not delete the build. Need to get in contact with Google Play support again to remove this build or to let them confirm that there is no violation anymore. Hopefully the problem is resolved now. The APM feature do I have to figure out..

marchbold commented 2 years ago

Okay, let me know how it goes.

Xuejiao-Shi commented 2 years ago

Huawei has provided new version for this issue. You could obtain the latest SDK version from the official website.

Version Change History

marchbold commented 2 years ago

We will add an update to HMS to our schedule.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.

marchbold commented 1 year ago

HMS has been updated.