升级SDK版本,替换云信secret key

This commit is contained in:
oujunhui
2020-04-08 16:44:03 +08:00
parent 65644508b9
commit 01ea699722
8 changed files with 25 additions and 7 deletions

View File

@@ -149,8 +149,8 @@ android {
}
debug {
// buildConfigField "String", "BASE_URL", "\"http://120.79.211.243/\""
buildConfigField "String", "BASE_URL", "\"http://apibeta.qxjiaoyou.com/\""
buildConfigField "String", "BASE_URL", "\"http://192.168.63.108:8079/\""
// buildConfigField "String", "BASE_URL", "\"http://apibeta.qxjiaoyou.com/\""
buildConfigField "String", "BASE_URL_DEBUG", "BASE_URL"
buildConfigField "String", "BASE_URL_STAGING", "\"https://preview.qxjiaoyou.com/\""
buildConfigField "String", "BASE_URL_RELEASE", "\"https://api.qxjiaoyou.com/\""
@@ -173,6 +173,7 @@ android {
}
}
buildToolsVersion = '28.0.3'
}

View File

@@ -112,7 +112,10 @@
-->
<meta-data
android:name="com.netease.nim.appKey"
android:value="ca46478c438dda51d25306f52fe7506b" /> <!-- 声明云信后台服务,如需保持后台推送,使用独立进程效果会更好。 -->
android:value="09bde8b3d86b98a6612bc3fc92709799" /> <!-- 声明云信后台服务,如需保持后台推送,使用独立进程效果会更好。
ca46478c438dda51d25306f52fe7506b
09bde8b3d86b98a6612bc3fc92709799
-->
<service
android:name="com.netease.nimlib.service.NimService"
android:process=":core" /> <!-- 运行后台辅助服务 -->

View File

@@ -95,7 +95,7 @@
<com.jude.rollviewpager.RollPagerView
android:id="@+id/roll_view"
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_height="80dp"
android:layout_marginStart="@dimen/dp_20"
android:layout_marginEnd="@dimen/dp_20"
android:layout_marginTop="@dimen/dp_12"

View File

@@ -14,4 +14,14 @@
<item type="id" name="mic_item_head_wear" />
<item type="id" name="guide_view" />
<item name="animator" type="id" />
<item name="date_picker_day" type="id"/>
<item name="date_picker_header" type="id"/>
<item name="date_picker_month" type="id"/>
<item name="date_picker_month_and_day" type="id"/>
<item name="date_picker_year" type="id"/>
<item name="day_picker_selected_date_layout" type="id"/>
<item name="done" type="id"/>
<item name="month_text_view" type="id"/>
</resources>

View File

@@ -83,6 +83,7 @@ android {
}
}
buildToolsVersion = '28.0.3'
}

View File

@@ -51,12 +51,14 @@ public class XChatConstants {
/**
* 云信 key (DEBUG)
*/
public static final String NIM_KEY_DEBUG = "2c375581f900a7b4ea3922fa7643f307";
// public static final String NIM_KEY_DEBUG = "2c375581f900a7b4ea3922fa7643f307";
public static final String NIM_KEY_DEBUG = "09bde8b3d86b98a6612bc3fc92709799";
/**
* 云信 key (RELEASE)
*/
public static final String NIM_KEY_RELEASE = "ca46478c438dda51d25306f52fe7506b";
// public static final String NIM_KEY_RELEASE = "ca46478c438dda51d25306f52fe7506b";
public static final String NIM_KEY_RELEASE = "09bde8b3d86b98a6612bc3fc92709799";
/**
* 网易易盾 productNumber

View File

@@ -30,6 +30,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
buildToolsVersion = '28.0.3'
}
dependencies {

View File

@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
android {
compileSdkVersion 29
buildToolsVersion '27.0.3'
buildToolsVersion '28.0.3'
defaultConfig {
minSdkVersion 19