Skip to content

Commit 2fc19be

Browse files
KenChoiKenChoi
authored andcommitted
add isDescend
1 parent 7d15c61 commit 2fc19be

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

android/src/io/jchat/android/Constant.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public class Constant {
9393
static final String MESSAGE_ARRAY = "messageArray";
9494
static final String PROGRESS = "progress";
9595
public static final String UNRECEIPT_COUNT = "unreceiptCount";
96+
public static final String IS_DESCEND = "isDescend";
9697
/**
9798
* ChatRoom
9899
*/

example/android/app/app.iml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,24 +84,17 @@
8484
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
8585
<sourceFolder url="file://$MODULE_DIR$/src/test/rs" isTestSource="true" />
8686
<sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" />
87-
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" />
8887
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/blame" />
8988
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/check-manifest" />
90-
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/classes" />
9189
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
92-
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/javaPrecompile" />
93-
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jniLibs" />
9490
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
9591
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/prebuild" />
9692
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
9793
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
98-
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/shaders" />
9994
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/splits-support" />
10095
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
10196
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/tmp" />
102-
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/transforms" />
10397
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
104-
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
10598
</content>
10699
<orderEntry type="jdk" jdkName="Android API 25 Platform (2)" jdkType="Android SDK" />
107100
<orderEntry type="sourceFolder" forTests="false" />
@@ -136,6 +129,7 @@
136129
<orderEntry type="library" name="com.facebook.fbui.textlayoutbuilder:staticlayout-proxy:1.0@jar" level="project" />
137130
<orderEntry type="library" name="com.android.support:appcompat-v7-25.3.1" level="project" />
138131
<orderEntry type="library" name="__local_aars__:/Users/caiyg/Desktop/github/jmessage-react-plugin/example/node_modules/jcore-react-native/android/libs/jcore-android-1.1.8.jar:unspecified@jar" level="project" />
132+
<orderEntry type="library" name="__local_aars__:/Users/caiyg/Desktop/github/jmessage-react-plugin/example/node_modules/jmessage-react-plugin/android/libs/jmessage-android_v2.5.0.jar:unspecified@jar" level="project" />
139133
<orderEntry type="library" name="org.greenrobot:eventbus:3.0.0@jar" level="project" />
140134
<orderEntry type="library" name="com.android.support:support-vector-drawable-25.3.1" level="project" />
141135
<orderEntry type="library" name="com.facebook.fbui.textlayoutbuilder:textlayoutbuilder-1.0.0" level="project" />

example/android/app/src/main/java/com/sample/application/MainApplication.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public void onCreate() {
5050
SoLoader.init(this, /* native exopackage */ false);
5151
Log.i("MainApplication", "Init JMessageClient");
5252
JMessageClient.setDebugMode(true);
53-
// JMessageClient.init(this, true);
53+
// JMessage SDK 2.5.0 后必须在 MainApplication 中初始化
54+
JMessageClient.init(this, true);
5455
}
5556
}

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"babel-plugin-transform-decorators-legacy": "^1.3.4",
1010
"babel-preset-react-native-stage-0": "^1.0.1",
1111
"jcore-react-native": "^1.2.3",
12-
"jmessage-react-plugin": "^2.3.0",
12+
"jmessage-react-plugin": "^2.3.5",
1313
"mobx": "^3.4.1",
1414
"mobx-react": "^4.3.5",
1515
"react": "^16.0.0",

0 commit comments

Comments
 (0)