Skip to content

Anyone has good way to exclude api key from repo? #4579

Answered by jan-kozinski
soemarko asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, sorry for not responding for a while. You can access them by adding

<meta-data
          android:name="com.google.android.geo.API_KEY"
          android:value="${MAPS_API_KEY}"/>

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

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@dev-externlabs
Comment options

@jan-kozinski
Comment options

Answer selected by jan-kozinski
@dev-externlabs
Comment options

@dev-externlabs
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants