we should not store secret keys in a file because it is easy to decompile.
You can try these methods
- Fetch it from another source like firebase remote config
- Hardcode key in a string with private accessible
- Encrypt your key and store in a string and decrypt it whenever you need, don't store the decrypted key anywhere, just use getter function.