MeteoriteDB

Log | Files | Refs | README

commit f5b1ac6990e3df1a353ad04fe2a6f5bc8c193a23
parent 196c22a3a1b97d3fb81f550bbd2c4a713da4f33b
Author: William Lindholm <william_lindholm@outlook.com>
Date:   Thu,  4 May 2023 20:43:51 +0200

Added google maps api key template. (api key stored elsewhere)

Diffstat:
Mapp/src/main/AndroidManifest.xml | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml @@ -4,6 +4,9 @@ <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> + <permission + android:name="com.anchit.locationapi.maps.permission.MAPS_RECEIVE" + android:protectionLevel="signature" /> <application android:allowBackup="true" @@ -14,6 +17,22 @@ android:supportsRtl="true" android:theme="@style/Theme.Projectassignment" tools:targetApi="31"> + + <!-- + TODO: Before you run your application, you need a Google Maps API key. + + To get one, follow the directions here: + + https://developers.google.com/maps/documentation/android-sdk/get-api-key + + Once you have your API key (it starts with "AIza"), define a new property in your + project's local.properties file (e.g. MAPS_API_KEY=Aiza...), and replace the + "YOUR_API_KEY" string in this file with "${MAPS_API_KEY}". + --> + <meta-data + android:name="com.google.android.geo.API_KEY" + android:value="" /> + <activity android:name=".MeteoriteActivity" android:exported="false" />