@dlim wrote:
Hi,
I’m new to Ionic/typescript. Would like to know how to have a global variable that can be changed/retrieved on any files on Ionic app. Tried different methods but it doesn’t work.
Basically this is to set/get the value of a refresh token from oauth2. The value needs to be overwritten and retrieved per each API call.
What’s the easiest way to implement this? Please help.
Thanks in advance.
Posts: 2
Participants: 2