-
Notifications
You must be signed in to change notification settings - Fork 0
Security and Configuration
The Google Maps API key is stored in the local.properties
file, which is excluded from version control to keep it confidential. Follow these steps to manage the API key:
- Locate the
local.properties
file in your project directory. - Navigate to the Google cloud dashboard for this project and find the api key there.
- Add the following line to specify your Google Maps API key:
MAPS_API_KEY=YOUR_GOOGLE_MAPS_API_KEY
The Firebase Configuration informaiton is stored in the google-services.json
file. This file is also excluded from version control for security reasons. Here's how to manage it:
- Obtain the
google-services.json
file from the Firebase Console. - Place the
google-services.json
file in theapp
directory of your Android project.
The app's release version is signed using a keystore file (keystore.jks
) and its corresponding properties file (keystore.properties
). These files are crucial for securing the app's integrity and authenticity.
The keystore file contains the private keys required to sign the app. Keep this file confidential and secure.
The keystore.properties
file typically contains the following information:
storePassword=YOUR_STORE_PASSWORD
keyAlias=YOUR_KEY_ALIAS
keyPassword=YOUR_KEY_PASSWORD
Make sure to keep these properties file secure and exclude it from version control.
This wiki page provides an overview of the security measures, API keys management, and signing configurations implemented in the Lasta Android app. Following these best practices ensures the app's security and integrity are maintained throughout its development and deployment lifecycle.