- Home /
Unity IAP seems to cause App Store Warning: ITMS-90809: Deprecated API Usage
I've recently received a warning from apple after uploading by build to the App Store:
We identified one or more issues with a recent delivery for your app. Your delivery was successful, but you may wish to correct the following issues in your next delivery:
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to App Store Connect.
Googling this issue revealed that people started receiving emails with this warning only a couple days ago, seems like some kind of automatic check was added for this kind of issue.
The problem is, I don't explicitly use WebView in my game and I have no idea what exactly may be using it. I've made a full search through the C# code but didn't find anything suspicious.
Looking through the generated ObjC code revealed some lines like these (I am using Unity 2018.3.0f2) in Bulk_Stores_0.cpp:
// System.Void UnityEngine.Purchasing.PayMethod::showPayWebView(System.String,System.String,System.String,System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR void PayMethod_showPayWebView_{...} (String_t* ___paymentURL0, String_t* ___authGlobal1, String_t* ___transactionId2, String_t* ___hashKey3, String_t* ___customID4, const RuntimeMethod* method);
and
// System.Void UnityEngine.Purchasing.MoolahStoreImpl::ClosePayWebView(System.String)
extern "C" IL2CPP_METHOD_ATTR void MoolahStoreImpl_ClosePayWebView_m69321FE5F49ACE555849E874F046FE212CC71C2B (MoolahStoreImpl_{...} * __this, String_t* ___result0, const RuntimeMethod* method)
This makes me think that Unity IAP module utilizes WebView somehow.
Is there anything that could be done about this? I am really worried that Apple Will just reject the app.
Yes. I am getting exact same issue. I don't use WebView anywhere in my project. But I am getting warning from app store. App store will reject this binary? $$anonymous$$y project is on development yet so I am using testflight now. But plan to publish soon. Is there any way to solve this problem? Appreciate for any help! thanks.
Answer by tonOnWu · Apr 01, 2020 at 02:01 AM
Guys, today is Mar 31, and I'm still getting this error. I'm using Unity 2019.3.5.f1 and the most recent Advertisement version. What new do you have?
Answer by EhsanEhrari · Apr 01, 2020 at 07:37 AM
I have the same error.Apple will reject the app from today.
Answer by Penny7654 · Apr 01, 2020 at 05:11 PM
Uninstall UnityAds and UnityCollaborate packages and try that.
Also, try unchecking the allow downloads over http option in the player settings
Did that and still the got same App Store Warning I'm using 2018.4.13 LTS
Answer by ODINKONG · Sep 09, 2019 at 07:47 PM
Unity is working on this, You should be able to submit to the store for now. In some forums I looked at people are saying an empty unity project with text in it causes this issue. So it seems like the packages are not the main issue. I'm sure unity will fix it soon I would just ignore it for now, and check up on it again in a month or so. Good luck friend.
Answer by muhammadsufyan_unity · Apr 01, 2020 at 09:20 AM
Getting same error, any fix?
Uninstall UnityAds and UnityCollaborate packages and try that.