I am using Ionic 7 with Angular for Mobile App development and now need to securely store a key for an REST API.
In my test app, the API key is simply stored inside webservicesponent.ts as per below example, but for production, I want to ensure that the API key is not accessible as plaintext, i.e. if someone hacks into the app stored on iOS and/or Android devices.
const MobileApiKey: string = “xxx-aaa-bb-999”;
What are the options?