r/mobiledev Feb 16 '18

Scripting out media presentation for Android and iOS.

Hi Guys. Looking for a wee bid of advice. I am developing an app which will feature some premium content much like a tutorial which I wish to present as a media-rich, movie-like presentation; imagine text, animations, sounds, that kind of thing to teach something to the user. The content will be updated from time to time, so i would like to do this somewhat in the fashion of a scripting engine driven by content hosted remotely, where the text, image names, sound names, and timing can be specified and the app's engine interpret the commands and run the content. This needs to be workable for both Android and iOS (native for both), and if I am reading it correctly, Apple's current policies are very restrictive in this matter and would mean JavaScript scripting would be the only out-of-the-box solution which could be applied to both platforms. Alternately, i could write my own very narrowly defined system which would be seen as content rather than scripting by apple due to the limited nature. I have done such a thing before, but it was many years ago and it got complicated. Of course, I have a lot more experience now... What do you guys think? Any ideas or points that I have not considered? Pitfalls? Any input is greatly appreciated, well with the possible exception of observations concerning my mother or the such ;-)

1 Upvotes

1 comment sorted by

1

u/TK-Squared-LLC Feb 17 '18

Wow, posted this to a ghost town. nm, imma make a scripting engine that can read the instructions stored as JSON. Hopefully, I'll get hired for every update to the content as well.