Am I allowed to run a javascript runtime (like v8) on the iPhone? [closed]


Am I allowed to run a javascript runtime (like v8) on the iPhone? [closed]



According to this discussion, the iphone agreement says that it doesn't allow "loading of plugins or running interpreted code that has been downloaded".

Technically, I would like to download scripts from our server (embedded in a proprietary protocol).

Does this mean I wouldn't be allowed to run a runtime like v8 in an iphone app?

This is probably more of a legal question.




Is Macro Better Than UIColor for Setting RGB Color?

1:



Facebook iphone connection
I think your interpretation is correct - You would not be allowed to download and execute JavaScript code in v8..
Is anyone testing Mono-Touch? [closed]
If there were some way to run the code in an interpreter already on the iPhone (i.e.


How to intercept text from the keyboard and format it before it show in the cell?
the javascript engine in MobileSafari) then that would be permitted I think..
Getting an iPhone app's product name at runtime?


declaring global variables in iPhone project


Where's the difference between setObject:forKey: and setValue:forKey: in NSMutableDictionary?

2:



Why is my UIImageView blurred?
This is partially a technical question too.

V8 as currently implemented won't run on the iPhone.

No JIT-based VM will..


3:


Well I embedded Lua into my application already and am programming most of the login in Lua and then downloading it to my iPhone for fast iteration, but this is only intended during development.

Once I ship the scripts will be placed in the source and compiled into byte-code shipped along with the app just like any other resource.. I'd say this applies to V8 aswell..


4:


I concur.

My reading is also that DOWNLOADED scripts are not allowed.

Pre-installed and user-written scripts are fine.

But it is a fine distinction and IANAL etc etc..



86 out of 100 based on 76 user ratings 326 reviews