feat:去掉facebook-SDK

This commit is contained in:
Max
2023-11-15 19:21:09 +08:00
parent c474cd5824
commit 8157edc05c
12 changed files with 159 additions and 201 deletions

View File

@@ -145,8 +145,8 @@ dependencies {
api 'com.umeng.sdk:utdid:1.1.5.3'
api 'com.facebook.android:facebook-android-sdk:16.2.0'
api 'com.facebook.android:facebook-login:16.2.0'
// api 'com.facebook.android:facebook-android-sdk:16.2.0'
// api 'com.facebook.android:facebook-login:16.2.0'
// 网络请求chrome数据调试
api 'com.facebook.stetho:stetho:1.5.1'

View File

@@ -5,6 +5,7 @@ import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.text.TextUtils;
import com.yizhuan.xchat_android_library.common.Constants;
import com.yizhuan.xchat_android_library.utils.config.BasicConfig;
import com.yizhuan.xchat_android_library.utils.log.MLog;
@@ -26,7 +27,7 @@ public class AppMetaDataUtil {
*/
public static String getChannelID() {
String channelID = BasicConfig.INSTANCE.getChannel();
channelID = TextUtils.isEmpty(channelID) ? "google" : channelID;
channelID = TextUtils.isEmpty(channelID) ? Constants.GOOGLE : channelID;
return channelID;
}