Running dynamically loaded js code in iOS

Hello,

We're developing an SDK for iOS and need clarification on Apple's policies regarding the use of JavaScriptCore.

Specifically, we want to understand if it's permissible to execute JavaScript code provided by our customers using JavaScriptCore.

Our use case is as follows: Our customers will supply JavaScript code snippets, which our SDK will receive as text. The intention is to run these code snippets via JavaScriptCore to present interactive guides or dynamic content to the end-users of the app.

Would executing customer-provided JavaScript code in this manner be considered a violation of Apple's App Store guidelines?

Thank you for your post. We recommend that you sign up for a session with App Review during the weekly Meet with Apple Experts event. Sign in with your Developer ID and select "Request a one-on-one App Review consultation". A member of the App Review team will help you with your questions regarding the review process and the App Review Guidelines.

@App Review

I have tried to schedule a meeting but was rejected in the end Amy chance we can answer the question in the thread so it will be also visible for other developers?

Thank you for your follow up. We will schedule a call with a representative from App Review to provide assistance. Please look for an email requesting phone contact information. Once you provide the information a representative will call you directly. If you continue to experience issues during review, please contact us.

Hello, The App Review team has been unable to reach you. This is a follow up to see if you still need assistance. If so please use contact us to provide update contact details for the App Review team. Once they have your updated contact information they will contact you.

@App Review

Yes I still need a help with that question where in this link: contact us I should update my phone number? I used Membership & Account -> Account Information update and send you a message with my phone number

Running dynamically loaded js code in iOS
 
 
Q