Add title image

Move GMS API KEY to .env file
use better sign icon for pins
This commit is contained in:
2025-04-17 19:03:55 -07:00
parent 66e4132856
commit 8e548f095b
8 changed files with 143 additions and 94 deletions

View File

@@ -5,10 +5,18 @@ plugins {
id("dev.flutter.flutter-gradle-plugin")
}
import java.util.Properties
import java.io.FileInputStream
val dotenv = Properties().apply {
load(FileInputStream(rootProject.file("../.env")))
}
android {
namespace = "com.example.wheres_my_sign"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
ndkVersion = "27.0.12077973"
//ndkVersion = flutter.ndkVersion
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
@@ -20,6 +28,7 @@ android {
}
defaultConfig {
manifestPlaceholders["GMS_API_KEY"] = dotenv.getProperty("GMS_API_KEY")
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.example.wheres_my_sign"
// You can update the following values to match your application needs.

View File

@@ -1,8 +1,13 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<application
android:label="wheres_my_sign"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="${GMS_API_KEY}"/>
<activity
android:name=".MainActivity"
android:exported="true"