Skip to content

Commit d32d9fa

Browse files
committed
fix huawei push issue
1 parent 03af996 commit d32d9fa

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed
File renamed without changes.

chat/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
apply plugin: 'com.android.application'
2+
// 华为推送,agconnect-services.json 文件也得在在application module的根目录
3+
apply plugin: 'com.huawei.agconnect'
24

35
android {
46
signingConfigs {

uikit/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,4 @@ dependencies {
102102

103103
}
104104

105-
apply plugin: 'com.huawei.agconnect'
106105
apply plugin: 'com.jakewharton.butterknife'

uikit/src/main/java/cn/wildfire/chat/kit/Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Created by heavyrain lee on 2017/11/24.
77
*/
88

9-
public class Config<ICE_SERVERS> {
9+
public class Config {
1010

1111
/**
1212
* 仅仅是host,没有http开头,也不用配置端口,<strong> 底层会使用默认的80端口</strong>,不可配置为127.0.0.1 或者 192.168.0.1

0 commit comments

Comments
 (0)