Google Bans App due Alipay SDK

Hello everyone,

Yesterday, Google banned one of our apps due the use of Alipay SDK. As far as I know, there is nothing related to this SDK in our application.

There is any way to solve it ?

Regards

Dani

Is this the SDK?

Maybe this?

@MD_Reptile hi!

No no. We are not using this plugin. It seems that unity is adding something related to this sdk in some postbuild process. Maybe Xiaomi has something inside it?

2 Likes

That seems very unlikely - if you are absolutely sure this SDK is not in your app, write back to google through their developer support (or open a support ticket about the specific app) and request it to be un-suspended. (I assume its been suspended and that your developer account itself has not been completely banned…) If you are not absolutely sure - read on.

As for finding out EXACTLY what you have in your built app - try building out to Android Studio rather than doing a standard internal build, and you will end up with the complete source (prior to being built as an APK) from unity, which you can then modify directly inside Android Studio.

If you get stuck, post back here and I’ll try to help.

Hey, I have the same issue with you @dsanteugini , i sent an email to google support but they said, they still found AliPay SDK which send the information to https://mobilegw.alipay.com:443/mgw.htm , meanwhile the website is not even exist.

Do u find your solution already? please share

Same here. Never heard of AliPay SDK, will investigate.

So let me get this straight.

You all DID NOT install this “Alipay SDK” in your apps - and then…

You uploaded a CLEAN apk to the app store…

And…

You created your unity accounts either super recently, or years ago, and have no posts… except this…

And…

Google banned your apps…

And… what?

What are the names of your apps and developer accounts? Hmm?

EDIT:
Is this the Alipay you used?

^ this is a US based site, covering the fact that Alibaba’s Alipay service is used worldwide.

^ here is a techcrunch article with a bit more info about Alipay

Perhaps… just theoretically now… but perhaps…

Due to the trade war between the US and China - Alipay (part of Alibaba) is being removed from the app stores in the US.

And perhaps… hypothetically…

You guys actually used Alipay. Your apps got suspended permanently because of that. Google gave you a warning, and you ignored or didn’t notice… then they banned your apps.

Am I like… getting close to the truth here?

EDIT2:
Perhaps you used one of these plugins?
https://github.com/Smartions/Unity-SDK/blob/master/Getting Started.md

https://translate.google.com/translate?hl=en&sl=zh-CN&u=https://www.jianshu.com/p/f8ff4f3fb4ce&prev=search

https://global.alipay.com/service/app_split/6
^ alipay.com will load fine but this link won’t work for me.

We have detected where is alipay defined. In UnityChannel.aar there are two places where is set:

AndroidManifest.xml has 2 references to alipay. (The exact reference of Google Play ban reason)
MIO library contains a lot of references and implementations of alipay.

We have modified the UnityChannel.aar and we’re trying if it fixes the issue. If it compiles and it works, I’ll share with you this file.

So…yes, Unity has alipay implementations in it.

4 Likes

Hmm.

That is interesting - and certainly something to bring to the attention of UT.

So now please test something for me.

Create a new, blank project > do the exact same thing, and find those references to that in the android manifest.

I can only think of 2 ways that got into your manifest. First, unity put it there when you built. Second, you opened a 3rd party plugin that had some sort of reference to that plugin, and later removed it.

Outside of those two things I have no idea how it got there. Can you confirm what happens when you open a new, blank project, and build with that?

Important things to tell UT:
-Unity version (2019.x? Free? Plus? Pro?)
-OS version (Windows? Mac OS?)
-Where you downloaded your copy of unity (Unity Hub? Standalone offline installer?)
-What are the names of your app(s) on the Google Play store that are banned.
EDIT:
Just to hopefully clarify - I use Unity Hub, and Unity 2018.x - and I have many apps on the app stores. They are not being suspended for this type of thing. So I seriously doubt it has come straight out of unity - unless you enabled some kind of IAP or subscription service that relies on a 3rd party plugin…

1 Like

Hi @MD_Reptile

We are already in touch with Unity Team. They said that yes, UnityChannel has Xiaomi SDK included by default. This SDK has included Alipay SDK inside it.

If you create a blank project without IAP Purchase service enabled, this data is not included. But if you include the IAP service, these sdks are included by default. The only way to remove them is modifying the UnityChannel.aar file manually.

  • Unity Version : latest 2018 (LTS) But seems that the problem is present in 2019 too.
  • OS Version : Windows
  • Where : Unity HUB but our builds are being done by Unity Cloud. (latest 2018 version configured)

I attached the UnityChannel.aar modified file in case of someone wants to test it too. Obviously I don’t recommend to use it in production but can be useful as an emergency fix. Anyway we are not 100% sure if it solves the problem but It seems.

4599304–429394–UnityChannel.zip (556 KB)

6 Likes

Ok - thank you very much for bringing this forward! This is certainly an important thing for UT to look at. Uhh… quick… tag somebody important haha. @hippocoder — uhh… do something!

1 Like

Hello My game has also been banned from the google playstore for using ALIpay sdk but i never used any sdk in my project. Unity needs to fix this problem.

We are looking into this.

5 Likes

absurd! please
solve this

1 Like

Same here, got banned from google because we use Unity IAP

1 Like

Absurd because Google suddenly changed their policy? Understood this is most serious, but please. So a bit of information to properly set expectations. If this is indeed a shift in policy from Google and we are tasked to accommodate, it will likely take another IAP release cycle and will require a new build of your game with the new version. Yeah, not good news. But allow us some time to properly investigate first.

3 Likes

What version of Unity IAP is everyone using here? The latest (which should not have the AliPay issue, I’ve been told) is 1.22.

1 Like

Also, users are reporting this behavior WITHOUT having IAP installed in their games Google Play: Violation of Personal and Sensitive Information policy

1 Like

Engineering here is asking if affected developers might send us their APK that is experiencing this issue. Please open a support ticket via Analytics and IAP here Unity Customer Service: Technical Support & Training | Unity

I was with Xiaomi Mi Game Center’s added… in “SDK for App Stores” where we build the app, I think that’s the problem… I’ll remove it and send it to Google again… As I saw, AliPay is a service from China… So I think it makes sense… Check it. (Google accepted my new apk, let’s see…)

Detail: The ones I didn’t use this SDK wasn’t banned.

1 Like