Anyone has good way to exclude api key from repo? #4579
-
At least for Android (I'm using Apple map on iOS). I think it's unreasonable to add Ideas for iOS side could be added here too, to help others that come here in the future. |
Beta Was this translation helpful? Give feedback.
Answered by
jan-kozinski
Mar 3, 2024
Replies: 1 comment 4 replies
-
You can use android/local.properties or ios/Config.xcconfig files to store your API keys |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, sorry for not responding for a while. You can access them by adding
to the contents of application tag. See https://github.com/react-native-maps/react-native-maps/blob/master/example/android/app/src/main/AndroidManifest.xml for reference