Hey all
I use some global variables while on my hs client - so I can determine which screen I am on - it works well.
One issue I have is if I deploy whilst not on my initial 'home' screen the global variable isn't reset.
Is there a way to run some startup code on deployment?. Or some way of knowing that this is a first run? i.e. just been deployed - so then I can reset any globals I use.
Cheers
I use some global variables while on my hs client - so I can determine which screen I am on - it works well.
One issue I have is if I deploy whilst not on my initial 'home' screen the global variable isn't reset.
Is there a way to run some startup code on deployment?. Or some way of knowing that this is a first run? i.e. just been deployed - so then I can reset any globals I use.
Cheers
Comment