0
Completed

IR.EVENT_APP_ENTER_BACKGROUND not supported

Benno Evers 7 years ago updated by Dmitry - support (expert) 7 years ago 4

Hi,


I noticed this event isn't supported in i3pro. Please add it so we can handle things when the user puts the app in background, or even terminates it.

Waiting for user's reply

Hello!


We added this listener to the new version 1.1.8 Please, check.

Tested on 1.1.8:12784 (iPad Air) and it looks like it isn't working. Basically I want to set brightness back to 80 %. And for test an log message to my remote log server. The brightness doesn't change and I don't see a log message.


My code:

IR.AddListener(IR.EVENT_APP_ENTER_BACKGROUND, 0, function() {
    IR.SetVariable("System.Display.Bright", 80);
    IR.Log("TO BACKGROUND!");
});



Hello!


Thanks for the info! The problem described by you was confirmed. We will try to fix it