Hi to All
First of all, thank you for the help that this community provides us.
I'm trying to update an app so that when the phone is locked (background mode) the error is captured and a variable is activated.
The app shows me 2 types of error:
- Network request can fail when the app is in the background
- Error when trying to retrieve data from the network (I think this error corresponds to error type 23 (Error kind)).
I would like to be able to capture the 2 possibilities with the error code instead of the text.
I'm trying with this code, and a while ago it worked for me but now it doesn't (Maybe power apps platform update ???)
If((FirstError.Message = "Error when trying to retrieve data from the network" && FirstError.Source = "Confirmation Button Yes_DownLoad.OnSelect"),SaveData(ClearCollect(DownLoadInterrupted, true), "DownLoadInterrupted"), true);
Thanks in advance.
Regards
Daniel