What is the AIR SDK version number?
You can execute:
to get it.
adt version "184.108.40.20620"
This version should not have the problem.
Do you update the Runtime?
Runtime verion 220.127.116.1130, I'll update to latest and check again.
Same with runtime verion 18.104.22.16870.
What could be the possible reason.
I'm experencing the same thing. Was there any resolution to this issue?
Not the same thing, but also wrong, is the folowing behavior (tested on Windows 7 and SDK 22.214.171.1240): on first launch, the value of InvokeEvent.reason is LOGIN, as it should.
If, however, I shutdown my AIR application, and start it again, manually, the value of InvokeEvent.reason is still LOGIN, while it should really be STANDARD.
Hasn't anyone tested such a simple workflow? Good God...
So, what could I do?
OK, I'm back with more on that issue: it only occurs when user logs off / logs on in place of restarting.
So, If I log off, and then log on, the InvokeEvent.reason will remain set to LOGIN for the rest of the Windows session. If, however, I restart the machine, and then logon, the InvokeEvent.reason property will behave as expected.
While I do agree that this is partially working, is stil not good enough for me...