Could I download javascript code in my app

Hi! There is an app - social casino with many slot machines inside, which user could play. The question is could I move business logic of slot machines to javascript and download it per machine with art resources? The functionality is the same as advertised purpose in the App Store. The core is xamarin, but slot machines code could be downloaded as javascript.

Replies

Your app can download content only...nothing that resembles executible code/scripts.


See the ASRGs 2.5.2 Software Requirements

What you are asking is a specific violation of guideline 4.7(4):


4.7 HTML5 Games, Bots, etc.

Apps may contain or run code that is not embedded in the binary (e.g. HTML5-based games, bots, etc.)..... provided that the software...... (4) does not provide access to real money gaming, lotteries, or charitable donations;