From ab183c10b4e77ac321f5802a41ee965b36e2f81a Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 14 六月 2024 17:29:54 +0800
Subject: [PATCH] 0312 增加华为json

---
 Channel/Android/hyyngame_huawei/launcherTemplate.gradle |    6 +
 Channel/Android/hyyngame_huawei/agconnect-services.json |  152 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 157 insertions(+), 1 deletions(-)

diff --git a/Channel/Android/hyyngame_huawei/agconnect-services.json b/Channel/Android/hyyngame_huawei/agconnect-services.json
new file mode 100644
index 0000000..a1d5258
--- /dev/null
+++ b/Channel/Android/hyyngame_huawei/agconnect-services.json
@@ -0,0 +1,152 @@
+{
+	"agcgw":{
+		"backurl":"connect-drcn.hispace.hicloud.com",
+		"url":"connect-drcn.dbankcloud.cn",
+		"websocketbackurl":"connect-ws-drcn.hispace.dbankcloud.com",
+		"websocketurl":"connect-ws-drcn.hispace.dbankcloud.cn"
+	},
+	"agcgw_all":{
+		"CN":"connect-drcn.dbankcloud.cn",
+		"CN_back":"connect-drcn.hispace.hicloud.com",
+		"DE":"connect-dre.dbankcloud.cn",
+		"DE_back":"connect-dre.hispace.hicloud.com",
+		"RU":"connect-drru.hispace.dbankcloud.ru",
+		"RU_back":"connect-drru.hispace.dbankcloud.cn",
+		"SG":"connect-dra.dbankcloud.cn",
+		"SG_back":"connect-dra.hispace.hicloud.com"
+	},
+	"websocketgw_all":{
+		"CN":"connect-ws-drcn.hispace.dbankcloud.cn",
+		"CN_back":"connect-ws-drcn.hispace.dbankcloud.com",
+		"DE":"connect-ws-dre.hispace.dbankcloud.cn",
+		"DE_back":"connect-ws-dre.hispace.dbankcloud.com",
+		"RU":"connect-ws-drru.hispace.dbankcloud.ru",
+		"RU_back":"connect-ws-drru.hispace.dbankcloud.cn",
+		"SG":"connect-ws-dra.hispace.dbankcloud.cn",
+		"SG_back":"connect-ws-dra.hispace.dbankcloud.com"
+	},
+	"client":{
+		"cp_id":"30065000020939823",
+		"product_id":"388421841221969004",
+		"client_id":"1359279427858502720",
+		"client_secret":"4D936C2E342AB883CA9178688A173B29B2FA1F6A29D4A22FBDE47E2D7C42530C",
+		"project_id":"388421841221969004",
+		"app_id":"111247775",
+		"api_key":"DAEDAFjeuyllZR1JBP5T8WW0GutpgJUOgrJypYAIPjsntEXxBQT7WPBXopRmuXhk16mU4xQZfKfohuaRx7yBfs/zDFe5F6g4n4w6GA==",
+		"package_name":"com.djmxyn.huawei"
+	},
+	"oauth_client":{
+		"client_id":"111247775",
+		"client_type":1
+	},
+	"app_info":{
+		"app_id":"111247775",
+		"package_name":"com.djmxyn.huawei"
+	},
+	"service":{
+		"analytics":{
+			"collector_url":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn",
+			"collector_url_ru":"datacollector-drru.dt.dbankcloud.ru,datacollector-drru.dt.hicloud.com",
+			"collector_url_sg":"datacollector-dra.dt.hicloud.com,datacollector-dra.dt.dbankcloud.cn",
+			"collector_url_de":"datacollector-dre.dt.hicloud.com,datacollector-dre.dt.dbankcloud.cn",
+			"collector_url_cn":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn",
+			"resource_id":"p1",
+			"channel_id":""
+		},
+		"edukit":{
+			"edu_url":"edukit.cloud.huawei.com.cn",
+			"dh_url":"edukit.cloud.huawei.com.cn"
+		},
+		"search":{
+			"url":"https://search-drcn.cloud.huawei.com"
+		},
+		"cloudstorage":{
+			"storage_url_sg_back":"https://agc-storage-dra.cloud.huawei.asia",
+			"storage_url_ru_back":"https://agc-storage-drru.cloud.huawei.ru",
+			"storage_url_ru":"https://agc-storage-drru.cloud.huawei.ru",
+			"storage_url_de_back":"https://agc-storage-dre.cloud.huawei.eu",
+			"storage_url_de":"https://ops-dre.agcstorage.link",
+			"storage_url":"https://agc-storage-drcn.platform.dbankcloud.cn",
+			"storage_url_sg":"https://ops-dra.agcstorage.link",
+			"storage_url_cn_back":"https://agc-storage-drcn.cloud.huawei.com.cn",
+			"storage_url_cn":"https://agc-storage-drcn.platform.dbankcloud.cn"
+		},
+		"ml":{
+			"mlservice_url":"ml-api-drcn.ai.dbankcloud.com,ml-api-drcn.ai.dbankcloud.cn"
+		}
+	},
+	"region":"CN",
+	"configuration_version":"3.0",
+	"appInfos":[
+		{
+			"package_name":"com.djmxyn.huawei",
+			"client":{
+				"app_id":"111247775"
+			},
+			"app_info":{
+				"package_name":"com.djmxyn.huawei",
+				"app_id":"111247775"
+			},
+			"oauth_client":{
+				"client_type":1,
+				"client_id":"111247775"
+			}
+		},
+		{
+			"package_name":"rssggt.huawei",
+			"client":{
+				"app_id":"111239971"
+			},
+			"app_info":{
+				"package_name":"rssggt.huawei",
+				"app_id":"111239971"
+			},
+			"oauth_client":{
+				"client_type":1,
+				"client_id":"111239971"
+			}
+		},
+		{
+			"package_name":"com.momez.huawei",
+			"client":{
+				"app_id":"110441767"
+			},
+			"app_info":{
+				"package_name":"com.momez.huawei",
+				"app_id":"110441767"
+			},
+			"oauth_client":{
+				"client_type":1,
+				"client_id":"110441767"
+			}
+		},
+		{
+			"package_name":"com.qzrynew.huawei",
+			"client":{
+				"app_id":"110350389"
+			},
+			"app_info":{
+				"package_name":"com.qzrynew.huawei",
+				"app_id":"110350389"
+			},
+			"oauth_client":{
+				"client_type":1,
+				"client_id":"110350389"
+			}
+		},
+		{
+			"package_name":"com.hdlmnew.huawei",
+			"client":{
+				"app_id":"110383831"
+			},
+			"app_info":{
+				"package_name":"com.hdlmnew.huawei",
+				"app_id":"110383831"
+			},
+			"oauth_client":{
+				"client_type":1,
+				"client_id":"110383831"
+			}
+		}
+	]
+}
\ No newline at end of file
diff --git a/Channel/Android/hyyngame_huawei/launcherTemplate.gradle b/Channel/Android/hyyngame_huawei/launcherTemplate.gradle
index 53dc06c..fe084ef 100644
--- a/Channel/Android/hyyngame_huawei/launcherTemplate.gradle
+++ b/Channel/Android/hyyngame_huawei/launcherTemplate.gradle
@@ -69,7 +69,11 @@
 
 task copyJsonFile {
     copy {
-        System.out.println("copy googlejson===============");
+        System.out.println("copy huaweijson===============");
+        delete("./agconnect-services.json")
+        from('../../../Assets/Plugins/Android/')
+        into('./')
+        include("agconnect-services.json")
     }
 }
 

--
Gitblit v1.8.0