This commit is contained in:
2025-04-10 09:26:52 +07:00
parent d4a6e236a0
commit 30ee4540ba
59 changed files with 307 additions and 341 deletions

View File

@@ -37,8 +37,8 @@ if (keystorePropertiesFile.exists()) {
android {
namespace "com.example.sfm_app"
compileSdkVersion 34
namespace "vn.smatec.sfm"
compileSdkVersion 35
ndkVersion flutter.ndkVersion
compileOptions {
@@ -72,11 +72,11 @@ android {
multiDexEnabled true
// END: Flutter Local Notifications
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.sfm_app"
applicationId "vn.smatec.sfm"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion 23
targetSdkVersion 33
targetSdkVersion 35
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
@@ -92,7 +92,7 @@ android {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
signingConfig signingConfigs.release
}
}
}

View File

@@ -1,21 +1,21 @@
{
"project_info": {
"project_number": "910110439150",
"project_id": "sfm-notification",
"storage_bucket": "sfm-notification.firebasestorage.app"
"project_number": "926568447136",
"project_id": "smart-fire-monitoring",
"storage_bucket": "smart-fire-monitoring.firebasestorage.app"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:910110439150:android:c3dbc3b4a85d7cb75b65ff",
"mobilesdk_app_id": "1:926568447136:android:58a2bfdd8fedbebf14ddc5",
"android_client_info": {
"package_name": "com.example.sfm_app"
"package_name": "vn.smatec.sfm"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyADdZ66_q4HALlb0-yEGgeyGnsbwmlvDsA"
"current_key": "AIzaSyBdyZGdAaE-p7fhhCqOST84XaFzi44JM0k"
}
],
"services": {

View File

@@ -2,27 +2,27 @@
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
<!-- <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" /> -->
<!-- NOTE: the example app requests USE_EXACT_ALARM to make it easier to run the app.
Developers will need to check if their own app needs to use SCHEDULE_EXACT_ALARM instead -->
<uses-permission android:name="android.permission.USE_EXACT_ALARM" />
<!-- <uses-permission android:name="android.permission.USE_EXACT_ALARM" /> -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<!-- NOTE: Special use was selected as it's the closest match for this example app.
apps should specify the appropriate permission for their use cases. -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
<!-- <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" /> -->
<!-- START Permissions Package -->
<!-- Permissions options for the `camera` group -->
<uses-permission android:name="android.permission.CAMERA"/>
<!-- Permissions options for the `location` group -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<!-- END Permissions Package -->
<application
android:label="sfm_app"
android:label="SFM"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
android:icon="@mipmap/launcher_icon">
<meta-data android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyA9C7Pmxw6Gw3H2mM4WA_XGngRIIr2VS7k"/>
<activity

View File

@@ -1,4 +1,4 @@
package com.example.sfm_app
package vn.smatec.sfm
import io.flutter.embedding.android.FlutterActivity

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB