Skip to content
This repository was archived by the owner on Jun 23, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
.gradle/
.settings/
build/
lib/js/
node_modules/
xcuserdata/
*.xcworkspace/
Expand Down
1 change: 1 addition & 0 deletions lib/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ android {
google()
jcenter()
maven { url 'https://jitpack.io' }
maven { url "http://maven.rongcloud.cn/repository/maven-releases/" }
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.rong.libcore.rn">
package="cn.rongcloud.imlib.react">
<application>

</application>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ public boolean onReceived(Message message, int left) {
RongIMClient.setConnectionStatusListener(new ConnectionStatusListener() {
@Override
public void onChanged(ConnectionStatus status) {
eventEmitter.emit("rcimlib-connection-status", status.getValue());
if (status != null) {
eventEmitter.emit("rcimlib-connection-status", status.getValue());
}
}
});

Expand Down Expand Up @@ -114,12 +116,14 @@ public void onMessageReceiptResponse(ConversationType conversationType, String t
}
});

RongIMClient.setRCLogInfoListener(new RCLogInfoListener() {
@Override
public void onRCLogInfoOccurred(String log) {
eventEmitter.emit("rcimlib-log", log);
}
});
// RongIMClient.setRCLogInfoListener(new RCLogInfoListener() {
// @Override
// public void onRCLogInfoOccurred(String log) {
// if (log != null) {
// eventEmitter.emit("rcimlib-log", log);
// }
// }
// });

RongIMClient.setOnRecallMessageListener(new OnRecallMessageListener() {
@Override
Expand Down
Loading