While I have come across similar inquiries, none of them precisely match my question. Currently, I am working on developing an app with Phonegap.
I understand that Apple permits apps to request external JS (such as those using Google Maps) by including a script tag in the header and referencing the external js file. However, my goal is to achieve a similar outcome but through code, utilizing jQuery getScript.
The functionality works correctly, but my concern lies in Apple's policy against downloading code to your app. Isn't having a script tag in the header pointing to external JavaScript essentially downloading code to the app?
In my opinion, whether you grab the javascript via a script tag or programmatically, it still amounts to 'downloading' code.
If anyone knows the definitive answer to this query, please share. Otherwise, how can I seek clarification? Even if the app gets approved, there remains the risk of building multiple apps with this code only to discover later that they are all taken down.