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