Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Injecting Lua code from external location — Gideros Forum

Injecting Lua code from external location

totebototebo Member
edited June 2015 in General questions
I'd like to store Lua code externally (on a server) and execute it at runtime. Is this possible somehow?
My Gideros games: www.totebo.com

Comments

  • As far as i remember Apple strictly forbids this kind of behavior in the code.
    But they are always changing their guidelines maybe this is also changed, need to look again to their guidelines.
  • talistalis Guru
    edited June 2015
    I found it:

    APIs and Functionality
    3.3.1
    Applications may only use Documented APIs in the manner
    prescribed by
    Apple and must not use or call any private APIs.
    3.3.2
    An Application may not download or install executable code. Interpreted
    code may only be used in an Application if all scripts, code and interpreters are
    packaged in the Application and not
    downloaded. The only exception to the
    foregoing is scripts and code downloaded and run by Apple's
    built in WebKit framework or JavascriptCore, provided that such scripts and code do not change the primary purpose of the Application by providing features or functionality that are inconsistent with the intended and advertised purpose of the Application as submitted to the App Store.
  • totebototebo Member
    Whoa. Thanks Talis!

    Likes: talis

    My Gideros games: www.totebo.com
    +1 -1 (+1 / -0 )Share on Facebook
  • ar2rsawseenar2rsawseen Maintainer
    Accepted Answer

    But you can do that using loadstring or dofile functions in lua
  • totebototebo Member
    Thanks, ar2, you devil.

    :)
    My Gideros games: www.totebo.com
Sign In or Register to comment.