Is there any Global Variable in Mobile application?

Is there any Global Variable in Mobile application?

  

Is there any Global Variable in Mobile application? , I just want to have like session variable in mobile app. Thanks ! 

Solution

Hello Ter, 

I think this documentation page has the information you are looking for; it also includes an example for a mobile app.

Kind regards,
João Batista

Solution

Hi Ter,

Though the documentation pointed to by João indeed gives you an implicit answer, the explicit answer is no, there's no such thing as session variables (or site properties for that matter) in mobile.

Thank you Kilian, I should have mentioned that indeed :)
You can still use site properties in mobile but you have to "fetch" their values with a server action to use them in the client side of your mobile app.

Yup, but that means you need to create a server action. I'd rather have them synced automatically, but alas...