Adding to @Manohar Reddy solution, firebase Database or firebase RemoteConfig (with Null default value) can be used:
- Cipher your keys
- Store it in firebase database
- Get it during App startup or whenever required
- decipher keys and use it
What is different in this solution?
- no credintials for firebase
- firebase access is protected so only app with signed certificate have
privilege to make API calls
- ciphering/deciphering to prevent middle man interception. However
calls already https to firebase