From 7305e0337f98038c1a2326abc533bdebdea878c4 Mon Sep 17 00:00:00 2001 From: Liuyf Date: Fri, 6 Dec 2024 10:21:43 +0800 Subject: [PATCH] =?UTF-8?q?other:=20=E8=A1=A5=E5=85=85sky-pre=EF=BC=8Cxhj-?= =?UTF-8?q?pre=E5=9C=B0=E5=9B=BEkey?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/flavors.dart | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/lib/flavors.dart b/lib/flavors.dart index 9a5474de..9acad368 100755 --- a/lib/flavors.dart +++ b/lib/flavors.dart @@ -141,16 +141,39 @@ class F { return const StarLockAMapKey( androidKey: '11d49b3f4fc09c04a02bbb7500925ba2', iosKey: '883a3355d2d77c2fdc2667030dc97ffe'); + case Flavor.sky_dev: + return const StarLockAMapKey( + androidKey: '', + iosKey: '', + ); + case Flavor.sky_pre: + return const StarLockAMapKey( + androidKey: '7d59c7416c455af3cf80bfb02478e733', + iosKey: 'a5c6c62386aa2b8285b5f8c2cd0597df', + ); case Flavor.sky: return const StarLockAMapKey( androidKey: 'fb0d2a3e4208b36452cf636aa025a24f', iosKey: '86ca725a12a629c280e116a317aaba19'); + case Flavor.xhj_dev: + return const StarLockAMapKey( + androidKey: '', + iosKey: '', + ); + case Flavor.xhj_pre: + return const StarLockAMapKey( + androidKey: '9d96095a53f46f5e323a5e9e7f3eaae2', + iosKey: '57f81124738270472558c685199c9a6a', + ); case Flavor.xhj: return const StarLockAMapKey( androidKey: '9dd8073a2e96870b206269bb562a887a', iosKey: 'c70047e60ce704d945ea89d6c2763b82'); default: - throw Exception('flavor[$name] aMapKey not found'); + return const StarLockAMapKey( + androidKey: 'no valied key', + iosKey: 'no valied key', + ); } }