This commit is contained in:
wyf
2025-08-18 18:19:56 +08:00
parent 111bd78a24
commit e5e405f205
23 changed files with 337 additions and 212 deletions

View File

@@ -36,8 +36,8 @@ if (flutterVersionName == null) {
}
android {
// namespace = "com.taihe.vbvs_app"
namespace = "com.taihe.mianhuatang"
namespace = "com.taihe.vbvs_app"
// namespace = "com.taihe.mianhuatang"
// compileSdk = flutter.compileSdkVersion
compileSdk = localProperties.getProperty('flutter.compileSdkVersion').toInteger()
@@ -56,8 +56,8 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// applicationId "com.taihe.vbvs_app"
applicationId "com.taihe.mianhuatang"
applicationId "com.taihe.vbvs_app"
// applicationId "com.taihe.mianhuatang"
// 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.
// minSdk = flutter.minSdkVersion

View File

@@ -6,7 +6,7 @@ plugins {
}
android {
namespace = "com.taihe.mianhuatang"
namespace = "com.taihe.vbvs_app"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
@@ -21,7 +21,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.taihe.mianhuatang"
applicationId = "com.taihe.vbvs_app"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion

View File

@@ -1,8 +1,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- New permissions in Android 13 -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<!-- <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
@@ -43,12 +43,12 @@
<application
android:usesCleartextTraffic="true"
android:name="${applicationName}"
android:icon="@mipmap/ic_launchermh"
android:label="智慧眠花糖"
android:icon="@mipmap/ic_launcher"
android:label="太和e护"
android:enableOnBackInvokedCallback="true"
>
<activity
android:name="com.taihe.mianhuatang.MainActivity"
android:name="com.taihe.vbvs_app.MainActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:screenOrientation="portrait"
android:exported="true"

View File

@@ -1,4 +1,4 @@
package com.taihe.mianhuatang
package com.taihe.vbvs_app
import io.flutter.embedding.android.FlutterActivity