Just getting started with Angularjs-2.3 TypeScript and I have a specific scenario where I need to save the userId in the app so it can be accessed anywhere within the app.
If I were developing for Android or iOS, I would typically use NSUserDefaults and SharedPreferences. How can I achieve the same functionality in TypeScript for native apps on Android and iOS? Thank you.