React Native Android Debug Keystore
<p>Question about generating API Keys for Android in React Native.</p>

<p>I'm referencing these:</p>

<p><a href="https://developers.google.com/maps/documentation/android-api/signup#release-cert" rel="noreferrer">https://developers.google.com/maps/documentation/android-api/signup#release-cert</a></p>

<p><a href="https://facebook.github.io/react-native/docs/signed-apk-android.html" rel="noreferrer">https://facebook.github.io/react-native/docs/signed-apk-android.html</a></p>

<p><a href="https://github.com/lelandrichardson/react-native-maps/blob/master/docs/installation.md" rel="noreferrer">https://github.com/lelandrichardson/react-native-maps/blob/master/docs/installation.md</a></p>

<p>What I'm wondering is, is how do I setup a debug API key for android if I'm NOT running on an emulator? I know I can use this command </p>

<pre><code>keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
</code></pre>

<p>if I want to create a debug.keystore that the emulator can look at, but how does this work for when I want to compile, build an apk, and run on my device? Do I have to set a pointer to it in gradle.properties? Does React Native know to look in that folder for the debug.keystore, and incorporate it into the apk? I'm not really sure how these things work.</p>