fix:jinzhi包名和签名
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
.PHONY: runner run test lint apk ipa build-web
|
||||
|
||||
WEB_API_URL ?= https://jinzhi.api.local
|
||||
WEB_API_URL ?= https://jinzhi.api.yqzhice.top
|
||||
WEB_BASE_HREF ?= /flutter/
|
||||
GITVERSION := $(shell git describe --tags --always --dirty 2>/dev/null || git rev-parse --short HEAD)
|
||||
COMMON_DART_DEFINES := --dart-define=GITVERSION=$(GITVERSION)
|
||||
|
||||
@@ -23,7 +23,7 @@ fun requireSigningProperty(name: String): String {
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.jinzhi.app"
|
||||
namespace = "com.jinzhi.butler"
|
||||
compileSdk = flutter.compileSdkVersion
|
||||
ndkVersion = flutter.ndkVersion
|
||||
|
||||
@@ -47,7 +47,7 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||
applicationId = "com.jinzhi.app"
|
||||
applicationId = "com.jinzhi.butler"
|
||||
// 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
|
||||
|
||||
Binary file not shown.
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.jinzhi.app
|
||||
package com.jinzhi.butler
|
||||
|
||||
import io.flutter.embedding.android.FlutterActivity
|
||||
|
||||
@@ -4,7 +4,7 @@ class AppConfig {
|
||||
factory AppConfig.fromEnvironment() {
|
||||
const url = String.fromEnvironment(
|
||||
'JINZHI_API_BASE_URL',
|
||||
defaultValue: 'https://jinzhi.api.local',
|
||||
defaultValue: 'https://jinzhi.api.yqzhice.top',
|
||||
);
|
||||
return const AppConfig(apiBaseUrl: url);
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# BASE_HREF base href(默认 /flutter/)
|
||||
set -euo pipefail
|
||||
|
||||
API_BASE_URL="${API_BASE_URL:-https://jinzhi.api.local}"
|
||||
API_BASE_URL="${API_BASE_URL:-https://jinzhi.api.yqzhice.top}"
|
||||
BASE_HREF="${BASE_HREF:-/flutter/}"
|
||||
|
||||
echo "▶ flutter pub get"
|
||||
|
||||
Reference in New Issue
Block a user