Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intune SDK binary references UIWebView, which Apple threatens to reject this December #107

Closed
KyLeggiero opened this issue Sep 8, 2020 · 3 comments

Comments

@KyLeggiero
Copy link

Describe the bug:
When submitting an app which integrates the IntuneMAM SDK, Apple issues the following warning:

Dear Developer, 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 - App updates that use UIWebView will no longer be accepted as of December 2020. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview). After you’ve corrected the issues, you can upload a new binary to App Store Connect. Best regards, The App Store Team

To Reproduce
Steps to reproduce the behavior:

  1. Integrate the Intune SDK into an app
  2. Submit the app to App Store Connect

Expected behavior:
Apple does not issue warnings about the IntuneMAM SDK

Screenshots and logs:

  • One screenshot above
  • A screenshot of the IntuneMAM binary containing references to UIWebView:
    A search of the hex data in the IntuneMAM binary, revealing UIWebView references

Smartphone (please complete the following information):

  • Device: Not applicable
  • OS: Not applicable

Intune App SDK for iOS (please complete the following information):

  • What version of the Intune SDK are you using? 12.8.0 Are you using the latest version? Yes

  • What platform is your app based in (native, Xamarin based, Cordova, etc)? Native: UIKit

  • For errors during build, does the app build without Intune SDK integration? Not applicable

  • For errors post build, does the app launch without being Intune SDK integrated? Yes

  • Who is the customer? Not sure what you mean by this

  • Do you see a trend with it only being reproduced on a specific device? Not applicable

Additional context:
None yet

@Kyle-Reis
Copy link
Collaborator

Hi @BenLeggiero, we actually don't directly instantiate any UIWebView, but we do have code which handles the scenario where an app might be doing so. We'll need to keep support for that scenario since not all of our customers are submitting their apps to the app store, and therefore UIWebView usage may extend beyond December, but nonetheless I think we can remove these references in our binary to prevent future rejection from the app store.

@Kyle-Reis
Copy link
Collaborator

Kyle-Reis commented Sep 16, 2020

Hey @BenLeggiero, this should be fixed in our latest release(version 12.9.0)

@KyLeggiero
Copy link
Author

Confirmed! Thanks for doing this 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants