37
Views
4
Comments
default screen OnInitialize
Question

I have a breakpoint on my OnInitialize action of the default screen. It seems that is not stopping when it loads from the first time at the first intance. Only if I click in the menu link to go again to the screen.

Filipe Lourenço wrote:

I have a breakpoint on my OnInitialize action of the default screen. It seems that is not stopping when it loads from the first time at the first intance. Only if I click in the menu link to go again to the screen.

 Filipe Lourenço. If you are using a mobile application you can check if the input module you are referring to in the debbuger is the module you want to analyze. Usually when working in layers that happens, but I can't say if it's your case. I did a quick test here (image attached) and it didn't go wrong.

 

testdebbug2.bmp

Rank: #170

Filipe check this documentation about screen lifecycles.

It shows what happens when you open your app:



So it will first run your Splash Screen, then go to your entry screen, and check permissions.
Just after that the On Initialize will be triggered.


May be a permissions issue?

I believe that if the user don't have the right permission it will be redirected to another screen depending of your exception flow.


Cheers and Regards,

RR :)

It makes sense , it is just when the app is in background on resuming, thanks