Преглед на файлове

登录区分虚拟服务器

master
徐勤民 преди 1 година
родител
ревизия
e4307d5d32
променени са 7 файла, в които са добавени 10 реда и са изтрити 8 реда
  1. +1
    -1
      .idea/compiler.xml
  2. +1
    -1
      .idea/misc.xml
  3. +0
    -2
      SzyxBaseSdk/build.gradle
  4. +2
    -0
      SzyxImSdk/src/main/java/cn/org/bjca/trust/android/lib/im/im/manager/ImManager.java
  5. +2
    -2
      build.gradle
  6. +3
    -1
      gradle.properties
  7. +1
    -1
      gradle/wrapper/gradle-wrapper.properties

+ 1
- 1
.idea/compiler.xml Целия файл

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="11" />
<bytecodeTargetLevel target="17" />
</component>
</project>

+ 1
- 1
.idea/misc.xml Целия файл

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="Android Studio default JDK" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">


+ 0
- 2
SzyxBaseSdk/build.gradle Целия файл

@@ -12,8 +12,6 @@ android {

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
versionCode 1
versionName '1.0.0'
}

buildTypes {


+ 2
- 0
SzyxImSdk/src/main/java/cn/org/bjca/trust/android/lib/im/im/manager/ImManager.java Целия файл

@@ -66,6 +66,8 @@ public class ImManager implements IMInterface {
@Override
public void connectComplete(boolean reconnect, String serverURI) {
Log.e("======>connectComplete", reconnect + "::" + serverURI);
status = 0;
if (reconnect) return;
try {
mqttClient.subscribe(Constant.getSdkAppID() + "/message" + Constant.getUserId(), 2);
mqttClient.subscribe(Constant.getSdkAppID() + "/pang" + Constant.getUserId(), 2);


+ 2
- 2
build.gradle Целия файл

@@ -1,5 +1,5 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.4.2' apply false
id 'com.android.library' version '7.4.2' apply false
id 'com.android.application' version '8.0.1' apply false
id 'com.android.library' version '8.0.1' apply false
}

+ 3
- 1
gradle.properties Целия файл

@@ -18,4 +18,6 @@ android.useAndroidX=true
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.nonTransitiveRClass=true
android.defaults.buildfeatures.buildconfig=true
android.nonFinalResIds=false

+ 1
- 1
gradle/wrapper/gradle-wrapper.properties Целия файл

@@ -1,6 +1,6 @@
#Tue May 16 10:36:25 CST 2023
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

Loading…
Отказ
Запис