Is Javascript "other executable code" for iOS?

In the Apple manuals, I saw:

2.7 Applications that upload code in any way or form will be rejected

2.8 Applications that install or run other executable code will be rejected

What I'm trying to do now is provide a TextView that allows users to enter Javascript and run in UIWebView on

stringByEvaluatingJavaScriptFromString: 

So, I do not "load" any code, and Javascript is not something "other", but part of the functions .

In a way, like the regular UGC WebApp in UIWebView .

I am ready to send the application, but still worried that it was rejected after a 10-day wait ...

Does anyone know for sure whether this is normal?

+6
source share
2 answers

Check out the current iOS standard agreement. It can explicitly allow Javascript execution inside a UIWebView, regardless of whether Javascript has been loaded or otherwise. It can also allow interpretation of any source code (Javascript or otherwise) that is not loaded (for example, entered as text, for example, with half a dozen or so. The main interpreters are allowed in the application store, since the agreement was revised last year).

+1
source

Interpretation of this method may result in disqualification, for example, of all applications using Facebook Connect that display a dialogue in the web view and at least some Javascript there.

So everything should be fine.

+2
source

Source: https://habr.com/ru/post/895071/


All Articles