Clarification for 4.7 HTML5 app submission when only using WebView to render WebGL content

In reference to Guideling 4.7:


Guideline 4.7. HTML5 games distributed in apps may not provide access to real money gaming, lotteries, or charitable donations, and may not support digital commerce. This functionality is only appropriate for code that’s embedded in the binary and can be reviewed by Apple. This guideline is now enforced for new apps. Existing apps must follow this guideline by September 3, 2019.


My work does qualify for this clause, I am referring to the gambling centric restrictions here.


I require clarification on this point. The intent seems to be to keep all business logic in the native app, but the wording sounds like all HTML5 content is just not allowed.


I was expecting to be able to use a WKWebView to render the game content in WebGL, with all the code contained within the app, and all the business logic including anything to do with digital commerce handled by the app and not the web view. The webview is only used to render content, with a simple interface to update data between the WebView and the native app. Nothing would be downloaded, and no network requests would be performed. This would only be used for rendering.


Is this approach allowed, or would that still result in an app rejection or a risk of rejection?


Thank you, this is a very important distinction.

Replies

> The intent seems to be to keep all business logic in the native app, but the wording sounds like all HTML5 content is just not allowed.


Not seeing how you connected those specific dots - maybe if you explained further, because it seems quite the leap from gambling-centric poilcy restrictions (4) to an outright HTML5 ban...


Otherwise, 4.7 isn't new to the ASRGs


4.7 HTML5 Games, Bots, etc.Apps may contain or run code that is not embedded in the binary (e.g. HTML5-based games, bots, etc.), as long as code distribution isn’t the main purpose of the app, the code is not offered in a store or store-like interface, and provided that the software (1) is free or purchased using in-app purchase; (2) only uses capabilities available in a standard WebKit view (e.g. it must open and run natively in Safari without modifications or additional software); your app must use WebKit and JavaScript Core to run third-party software and should not attempt to extend or expose native platform APIs to third-party software; (3) is offered by developers that have joined the Apple Developer Program and signed the Apple Developer Program License Agreement; (4) does not provide access to real money gaming, lotteries, or charitable donations; (5) adheres to the terms of these App Review Guidelines (e.g. does not include objectionable content); and (6) does not support digital commerce. Upon request, you must provide an index of software and metadata available in your app. It must include Apple Developer Program Team IDs for the providers of the software along with a URL which App Review can use to confirm that the software complies with the requirements above.