1、个人信息完善
2、集成聊天功能 3、完成登录
This commit is contained in:
@@ -16,6 +16,11 @@ android {
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
ndk {
|
||||
//设置支持的so库框架
|
||||
abiFilters 'armeabi-v7a', 'arm64-v8a'
|
||||
}
|
||||
|
||||
}
|
||||
signingConfigs {
|
||||
|
||||
@@ -79,8 +84,8 @@ android {
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_11
|
||||
targetCompatibility JavaVersion.VERSION_11
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
buildFeatures {
|
||||
dataBinding true
|
||||
@@ -95,8 +100,9 @@ android {
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = '11'
|
||||
jvmTarget = '17'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -118,5 +124,9 @@ dependencies {
|
||||
implementation files('libs/logger-2.2.2-release.aar')
|
||||
implementation files('libs/main-2.2.3-release.aar')
|
||||
|
||||
|
||||
//aar的名称,例如:WbCloudFaceLiveSdk-v6.0.0-1234567.aar,填入'WbCloudFaceLiveSdk-v6.0.0-1234567'
|
||||
// implementation(name: 'WbCloudFaceLiveSdk-face-v6.6.2-8e4718fc', ext: 'aar')
|
||||
////2. 云normal SDK,
|
||||
////aar的名称,例如:WbCloudNormal-v5.1.10-123456789.aar,填入 'WbCloudNormal-v5.1.10-123456789.aar'
|
||||
// implementation(name: 'WbCloudNormal-v5.1.10-4e3e198', ext: 'aar')
|
||||
}
|
||||
91
app/proguard-rules.pro
vendored
91
app/proguard-rules.pro
vendored
@@ -786,4 +786,93 @@ public static java.lang.String TABLENAME;
|
||||
|
||||
*;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
# 避免删除代码逻辑
|
||||
-dontshrink
|
||||
-dontoptimize
|
||||
# 避免混淆 TUIKit
|
||||
-keep class com.tencent.qcloud.** { *; }
|
||||
-keep class com.tencent.imsdk.** { *; }
|
||||
-keep class * implements com.tencent.qcloud.tuicore.interfaces.TUIInitializer {}
|
||||
|
||||
######################云刷脸混淆规则 faceverify-BEGIN#######################
|
||||
####
|
||||
#不混淆内部类
|
||||
-keepattributes InnerClasses
|
||||
|
||||
#不混淆jni调用类
|
||||
-keepclasseswithmembers class *{
|
||||
native <methods>;
|
||||
}
|
||||
|
||||
###################### faceverify-BEGIN ###########################
|
||||
-ignorewarnings
|
||||
-keep public class com.tencent.ytcommon.**{*;}
|
||||
-keep class com.tencent.turingfd.sdk.mfa.TNative$aa { public *; }
|
||||
-keep class com.tencent.turingfd.sdk.mfa.TNative$aa$bb { public *;}
|
||||
-keep class com.tencent.turingcam.** {*;}
|
||||
-keep class com.tencent.turingfd.** {*;}
|
||||
|
||||
-keep public class com.tencent.youtu.ytagreflectlivecheck.jni.**{*;}
|
||||
-keep public class com.tencent.youtu.ytagreflectlivecheck.YTAGReflectLiveCheckInterface{
|
||||
public <methods>;
|
||||
}
|
||||
-keep public class com.tencent.youtu.ytposedetect.jni.**{*;}
|
||||
-keep public class com.tencent.youtu.ytposedetect.data.**{*;}
|
||||
-keep public class com.tencent.youtu.liveness.YTFaceTracker{*;}
|
||||
-keep public class com.tencent.youtu.liveness.YTFaceTracker$*{*;}
|
||||
|
||||
-keep public class com.tencent.cloud.huiyansdkface.facelight.net.*$*{
|
||||
*;
|
||||
}
|
||||
-keep public class com.tencent.cloud.huiyansdkface.facelight.net.**{
|
||||
*;
|
||||
}
|
||||
-keep public class com.tencent.cloud.huiyansdkface.facelight.config.cdn.WbUiTips{
|
||||
*;
|
||||
}
|
||||
|
||||
#================数据上报混淆规则 start===========================
|
||||
#实体类
|
||||
-keep class com.tencent.cloud.huiyansdkface.analytics.EventSender{
|
||||
*;
|
||||
}
|
||||
-keep class com.tencent.cloud.huiyansdkface.analytics.EventSender$*{
|
||||
*;
|
||||
}
|
||||
-keep class com.tencent.cloud.huiyansdkface.analytics.WBSAEvent{
|
||||
*;
|
||||
}
|
||||
-keep class com.tencent.cloud.huiyansdkface.analytics.WBSAParam{
|
||||
*;
|
||||
}
|
||||
#================数据上报混淆规则 end===========================
|
||||
|
||||
#######################faceverify-END#############################
|
||||
|
||||
####################### normal混淆规则-BEGIN#############################
|
||||
#不混淆内部类
|
||||
-keepattributes InnerClasses
|
||||
-keepattributes *Annotation*
|
||||
-keepattributes Signature
|
||||
-keepattributes Exceptions
|
||||
|
||||
-keep public class com.tencent.cloud.huiyansdkface.normal.net.*$*{
|
||||
*;
|
||||
}
|
||||
-keep public class com.tencent.cloud.huiyansdkface.normal.net.*{
|
||||
*;
|
||||
}
|
||||
#bugly
|
||||
-keep class com.tencent.bugly.idasc.**{
|
||||
*;
|
||||
}
|
||||
#wehttp混淆规则
|
||||
-dontwarn com.tencent.cloud.huiyansdkface.okio.**
|
||||
-keep class com.tencent.cloud.huiyansdkface.okio.**{
|
||||
*;
|
||||
}
|
||||
-dontwarn com.tencent.cloud.huiyansdkface.okhttp3.OkHttpClient$Builder
|
||||
|
||||
####################### normal混淆规则-END#############################
|
||||
@@ -106,11 +106,12 @@
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme"
|
||||
tools:replace="android:theme"
|
||||
android:networkSecurityConfig="@xml/network_security_config"
|
||||
android:usesCleartextTraffic="true"
|
||||
tools:targetApi="31"
|
||||
tools:ignore="SelectedPhotoAccess">
|
||||
tools:ignore="SelectedPhotoAccess"
|
||||
tools:replace="android:theme,android:allowBackup"
|
||||
>
|
||||
<activity
|
||||
android:name=".LaunchPageActivity"
|
||||
android:configChanges="orientation|keyboardHidden|screenSize"
|
||||
|
||||
@@ -31,6 +31,10 @@ import com.qxcm.moduleutil.dialog.PolicyDialog;
|
||||
import com.qxcm.moduleutil.utils.SpUtil;
|
||||
import com.qxcm.moduleutil.utils.logger.Logger;
|
||||
import com.qxcm.qxlive.databinding.ActivityLaunchPageBinding;
|
||||
import com.tencent.qcloud.tuicore.TUILogin;
|
||||
import com.tencent.qcloud.tuicore.interfaces.TUICallback;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
|
||||
public class LaunchPageActivity extends BaseMvpActivity<LaunchPresenter, ActivityLaunchPageBinding> implements LaunchContacter.View {
|
||||
private Handler handler;
|
||||
@@ -165,6 +169,16 @@ public class LaunchPageActivity extends BaseMvpActivity<LaunchPresenter, Activit
|
||||
intent.putExtras(bundle);
|
||||
startActivity(intent);
|
||||
} else {
|
||||
TUILogin.login(getBaseContext(), CommonAppContext.getInstance().getCurrentEnvironment().getSdkAppId(), String.valueOf(userBean.getUser_code()), userBean.getTencent_im(), new TUICallback() {
|
||||
@Override
|
||||
public void onError(final int code, final String desc) {
|
||||
LogUtils.e("@@@",code,"描述:",desc);
|
||||
}
|
||||
@Override
|
||||
public void onSuccess() {
|
||||
LogUtils.e("@@@","成功");
|
||||
}
|
||||
});
|
||||
startActivity(new Intent(this, MainActivity.class));
|
||||
}
|
||||
finish();
|
||||
|
||||
Reference in New Issue
Block a user