I tried to add the following in the Requiredtolink.mm file but it did not work
int main(int argc, char *argv)
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
It compiles and runs but the device still goes to sleep according to its auto-lock setting.
Not sure it's possible but if anyone has an idea.....
I also tried to put the line after the startApp line