This commit is contained in:
hrxiang
2022-12-02 10:50:48 +08:00
parent b8a51374a3
commit 4c540fbff5
6 changed files with 33 additions and 2 deletions

View File

@@ -34,5 +34,5 @@ android {
}
}
dependencies {
api 'io.openim:core-sdk:2.3.4-rc6@aar'
api 'io.openim:core-sdk:2.3.4-rc7@aar'
}

View File

@@ -61,4 +61,13 @@ public class IMManager extends BaseManager {
value(methodCall, "fcmToken")
);
}
public void setAppBackgroundStatus(MethodCall methodCall, MethodChannel.Result result) {
Open_im_sdk.setAppBackgroundStatus(
new OnBaseListener(result, methodCall),
value(methodCall, "operationID"),
value(methodCall, "isBackground")
);
}
}