Giter Site home page Giter Site logo

agoraio / agora-flutter-rtm-sdk Goto Github PK

View Code? Open in Web Editor NEW
104.0 48.0 66.0 250 KB

Flutter wrapper around the Agora Real Time Message SDKs for Android and iOS

License: MIT License

Kotlin 28.65% Ruby 1.70% Objective-C 1.03% Dart 45.29% Swift 23.32%
flutter agora messaging realtime-messaging ios android rtm

agora-flutter-rtm-sdk's People

Contributors

andrzejchm avatar bhavin-concetto avatar facurossi avatar iyuhang avatar lichking-2234 avatar littlegnal avatar masashi-sutou avatar matrixbirds avatar maxxfrazer avatar nilsreichardt avatar plutoless avatar prwrl avatar rojohub avatar slql0011 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

agora-flutter-rtm-sdk's Issues

flutter build apk and open it. Then it crash quickly.

I clone your demo to my pc and just change agora appId. it works nomally if running on my phone. however, if I run 'flutter build apk' and install into my photo. It will crash quickly.
My flutter version is '1.12.13+hotfix.8'.
I prepare to release my app and found this problem. So I tried your demo...

Channel Operation flag enableNotificationToChannelMembers is not working correctly on ios

Hi, Agora team,

The current version of agora flutter RTM channel operations on below functions is not working on IOS, but is working on Android.
No matter the value of enableNotificationToChannelMembers is true or false, on IOS, it is always notifying all memebers in the channel.

Future addOrUpdateChannelAttributes(
String channelId,
List attributes,
bool enableNotificationToChannelMembers)

Future deleteChannelAttributesByKeys(String channelId,
List keys, bool enableNotificationToChannelMembers)


michael-mac:$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.7 19H114, locale en-CN)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.4)
[✓] Android Studio (version 4.1)
[✓] IntelliJ IDEA Community Edition (version 2020.1.2)
[✓] VS Code (version 1.54.1)
[✓] Connected device (3 available)

• No issues found!

插件注册问题

android\app\src\main\kotlin\com\example\stargazer_client_fish\MainActivity.kt文件里,如果不注释掉GeneratedPluginRegistrant.registerWith(flutterEngine);这行代码,则视频通话时黑屏。

注释掉的话,导致其他插件(flutter_webview_plugin: ^0.3.10+1)又报错(提示插件未注册)

运行环境
agora_rtc_engine: ^1.0.5
agora_rtm: ^0.9.9
flutter version:v1.15.21

添加用户属性失败 addOrUpdateLocalUserAttributes failed errorCode:3

Map<String, String> info = {
"name":"test"
};
await _client.addOrUpdateLocalUserAttributes([info]);

[ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: addOrUpdateLocalUserAttributes failed errorCode:3
E/flutter (25007): #0 AgoraRtmClient.addOrUpdateLocalUserAttributes (package:agora_rtm/src/agora_rtm_client.dart:294:7)

Facing Auth issue while CI-CD pipeline.

Hi Team,

First of all, appreciate the great effort.
When I try to add this library it works fine but it creates an issue on the CI-CD pipeline for unauthorized access. Please suggest what to do for resolving that issue.

thanks,
bimal

FAILURE: Build failed with an exception.

我在0.9.8下正常运行,升级到0.9.9后,就出以下错了>

Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.

FAILURE: Build failed with an exception.

  • Where:
    Build file '/Users/apple/.pub-cache/hosted/pub.dartlang.org/agora_rtm-0.9.9/android/build.gradle' line: 12

  • What went wrong:
    A problem occurred evaluating project ':agora_rtm'.

Could not get unknown property 'kotlin_version' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 0s
Gradle task assembleDebug failed with exit code 1

[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.14.6 18G87, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
[✓] Android Studio (version 3.3)
[✓] VS Code (version 1.41.1)
[✓] Connected device (1 available)

• No issues found!

Send channel message

Is it designed that the sender of the channel message does not receive the message also on the channel onMessageReceived listener?

app stop when install debug or release apk

app is working fine directly run from computer in simulator and real device,
but when i generate debug or release apk and install it in real device app is stop.

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.17.0, on Mac OS X 10.15.3 19D76, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.44.2)
[✓] Connected device (2 available)

• No issues found!

Login error in the example app

I can't log into the app. I create correct AgoraRtmClient with my app ID.
I log correctly once! and when i press logout i cant log again.
E/AGORA_SDK( 3302): cannot open log file for writing: agorartm.log, err=30
I/flutter ( 3302): Connection state changed: 2, reason: 1
I/flutter ( 3302): Login error: login failed errorCode:4
I/flutter ( 3302): Connection state changed: 1, reason: 3

Cannot Open log file for writing agorartm.log, err=30

I am trying to login into a rtm channel using the following code -
The client gets Logged In but i keep getting this error on my console.
I followed the example code with changed ids and tokens.

Future initialize() async {
_client = await AgoraRtmClient.createInstance(AppEnvironment.agoraAppId);
_client.onMessageReceived = (AgoraRtmMessage message, String peerId) {
print('message received');
};
_client.onConnectionStateChanged = (int state, int reason) {
print('csdcsd');
};
try {
await _client.login(_agoraRtmProvider.rtmToken.token, _agoraRtmProvider.rtmToken.uid);
print('login success');
}catch(e) {
print('login error');
print(e.toString());
}
}

login failed errorCode:5

I have created account in agora.io and got the appid from it and now if i am trying to login it returns

[ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: login failed errorCode:5
#0      AgoraRtmClient.login (package:agora_rtm/src/agora_rtm_client.dart:228:7)
<asynchronous suspension>

I checked in the api reference its says invalid token.

below is my code for login..

_client = await AgoraRtmClient.createInstance(Constant.AGORA_APP_ID);
_client.onMessageReceived = (AgoraRtmMessage message, String peerId) {
  _log(user: peerId, info: message.text, type: 'message');
};
_client.onConnectionStateChanged = (int state, int reason) {
  if (state == 5) {
    _client.logout();
    //_log('Logout.');
    setState(() {
      _isLogin = false;
    });
  }
};
await _client.login(null, widget.channelName);
_channel = await _createChannel(widget.channelName);
await _channel.join();

i tried in demo in that i was using the key provided in the demo but while i switched to my new key it gives above error.

onLeaveChannel的问题

在原生api文档中,调用leavchannel后会回调onLeaveChannel,在onLeaveChannel中会有RtcStats统计信息,但在Flutter SDK中,onLeaveChannel是没有任何参数的。

  1. 在Flutter SDK中是不是还没有实现?
  2. 在Futter SDK中还是有其他方法获取统计信息?如有,望告知一下。

谢谢!

另外,
在原生api文档中,
void io.agora.rtc.IRtcEngineEventHandler.onUserOffline ( int uid, int reason )第二个参数是reason
但在flutter sdk中
static void Function(int uid, int elapsed) onUserOffline; 第二个参数是elapsed
有点疑惑。

在 iOS 上重启卡死

RTM 0.9.9 运行在 iOS 上,点击 restart (Hot Reload 不会出现)两到三次就会出现应用卡死,没有日志输出
移出 RTM 后恢复正常
请问能有什么原因吗?

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.14.6 18G87, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 3.3)
[✓] VS Code (version 1.42.1)
[✓] Connected device (2 available)

Error With Kotlin Version

I'm receiving an error that states:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher. The following dependencies do not satisfy the required version: project ':agora_rtm' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.0

E/AGORA_SDK(30488): cannot open log file for writing: agorartm.log, err=30

flutter 1.12.13+hotfix.8
一加7plus
console 一直打印这个日志错误

E/AGORA_SDK(30488): cannot open log file for writing: agorartm.log, err=30
E/AGORA_SDK(30488): cannot open log file for writing: agorartm.log, err=30
E/AGORA_SDK(30488): cannot open log file for writing: agorartm.log, err=30
E/AGORA_SDK(30488): cannot open log file for writing: agorartm.log, err=30

Where to find user id?

Hello, After launching app (with the app id encoded) it's ask an user id..? Where I'm supposed to find it?

The 'Pods-Runner' target has transitive dependencies that include static binaries

  • Running pre install hooks
    [!] The 'Pods-Runner' target has transitive dependencies that include static binaries: (/Users/apple/Flutter/projects/fixtime/ios/Pods/AgoraRtm_iOS/AgoraRtmKit.framework)
    /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:81:in block (2 levels) in verify_no_static_framework_transitive_dependencies' /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:73:in each'
    /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:73:in block in verify_no_static_framework_transitive_dependencies' /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:70:in each'
    /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:70:in verify_no_static_framework_transitive_dependencies' /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:36:in validate!'
    /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer.rb:459:in validate_targets' /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/installer.rb:138:in install!'
    /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/command/install.rb:48:in run' /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/claide-1.0.2/lib/claide/command.rb:334:in run'
    /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/lib/cocoapods/command.rb:52:in run' /usr/local/Cellar/cocoapods/1.6.1/libexec/gems/cocoapods-1.6.1/bin/pod:55:in <top (required)>'
    /usr/local/Cellar/cocoapods/1.6.1/libexec/bin/pod:22:in load' /usr/local/Cellar/cocoapods/1.6.1/libexec/bin/pod:22:in '

因为其他插件需要,我去除了 use_frameworks! 的注释

• No issues found!
AnsenMBP-3:fixtime apple$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G87, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Android Studio (version 3.3)
[✓] VS Code (version 1.38.0)
[✓] Connected device (1 available)

调用 login 报错

最近每次调用 login 时都报错
但似乎功能又是正常的

await _client.login(null, id);

E/flutter (15834): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: NoSuchMethodError: The method 'call' was called on null.
E/flutter (15834): Receiver: null
E/flutter (15834): Tried calling: call(2, 1)
E/flutter (15834): #0      Object.noSuchMethod  (dart:core-patch/object_patch.dart:53:5)
E/flutter (15834): #1      AgoraRtmClient._eventListener 
package:agora_rtm/src/agora_rtm_client.dart:113
E/flutter (15834): #2      _rootRunUnary  (dart:async/zone.dart:1134:38)
E/flutter (15834): #3      _CustomZone.runUnary  (dart:async/zone.dart:1031:19)
E/flutter (15834): #4      _CustomZone.runUnaryGuarded  (dart:async/zone.dart:933:7)
E/flutter (15834): #5      _BufferingStreamSubscription._sendData  (dart:async/stream_impl.dart:338:11)
E/flutter (15834): #6      _DelayedData.perform  (dart:async/stream_impl.dart:593:14)
E/flutter (15834): #7      _StreamImplEvents.handleNext  (dart:async/stream_impl.dart:709:11)
E/flutter (15834): #8      _PendingEvents.schedule.<anonymous closure>  (dart:async/stream_impl.dart:669:7)
E/flutter (15834): #9      _rootRun  (dart:async/zone.dart:1122:38)
E/flutter (15834): #10     _CustomZone.run  (dart:async/zone.dart:1023:19)
E/flutter (15834): #11     _CustomZone.runGuarded  (dart:async/zone.dart:925:7)
E/flutter (15834): #12     _CustomZone.bindCallbackGuarded.<anonymous closure>  (dart:async/zone.dart:965:23)
E/flutter (15834): #13     _rootRun  (dart:async/zone.dart:1126:13)
E/flutter (15834): #14     _CustomZone.run  (dart:async/zone.dart:1023:19)
E/flutter (15834): #15     _CustomZone.runGuarded  (dart:async/zone.dart:925:7)
E/flutter (15834): #16     _CustomZone.bindCallbackGuarded.<anonymous closure>  (dart:async/zone.dart:965:23)
E/flutter (15834): #17     _microtaskLoop  (dart:async/schedule_microtask.dart:43:21)
E/flutter (15834): #18     _startMicrotaskLoop  (dart:async/schedule_microtask.dart:52:5)

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Mac OS X 10.14.6 18G87, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.44.2)
[✓] Connected device (2 available)

用最新的master版本,flutter pub get 『agora_rtm: ^0.9.7』出现问题

Running "flutter pub get" in meili... 0.8s
Couldn't read file LocalFile: '/Users/mayer/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/agora_rtm-0.9.7/android/src/main/kotlin/io/agora/agorartm/AgoraRtmPlugin.kt' even though it exists. Please verify that this file has read permission and try again.

[✓] Flutter (Channel master, v1.10.17-pre.59, on Mac OS X 10.14.6 18G1012, locale zh-Hans-CN)
• Flutter version 1.10.17-pre.59 at /Users/mayer/development/flutter
• Framework revision 9e0df259df (5 hours ago), 2019-11-11 15:56:43 -0800
• Engine revision 31cd2dfca2
• Dart version 2.7.0

Call Invitations not in array

Hi, I'm sending a localCallInvitation from an Android device and then I receive the invitation on an iOS device.
However, When I try to accept or refuse the invitation, I get an error -1, which is that the the invitation in not available in the removeInvitations with the callerID.
This seems to be working when I send the call invitation from Android to an Android device.
Can you help me with this.

Regards,
Mohit

What the difference between this plugin and agora_rtc_engine's streamMessage

I just wondering should i use this plugin with agora_rtc_engine since i can see similiar function to handle realtime message?

why i thought it was same is when i look at one of agora_rtc_engine's function, it was sendStreamMessage that can be handled on streamMessage, i can't find the difference especially there is no further documentation or notes on agora_rtc_engine about this function

onRemoteInvitationReceived 被叫方收到视频邀请的问题

你好,想问一下被叫方收到主叫方的视频邀请事件,是用哪个?看android,ios原生的文档是onRemoteInvitationReceived,我在flutter-RTM里没有找到 onRemoteInvitationReceived 这个事件,只有onRemoteInvitationReceivedByPeer,但这个看源码注释是通知主叫方『被叫收到了邀请』 。

/// Callback to the caller: occurs when the callee receives the call invitation.
void Function(AgoraRtmRemoteInvitation invite) onRemoteInvitationReceivedByPeer;

已经申请了储存权限,日志一直打印cannot open log file for writing

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

///获取读存储权限
PermissionHandler().requestPermissions([PermissionGroup.storage]);
E/AGORA_SDK(18819): cannot open log file for writing: /storage/emulated/0/com.fixtime.yuyu/agorartm.log, err=13
E/AGORA_SDK(18819): cannot open log file for writing: /storage/emulated/0/com.fixtime.yuyu/agorartm.log, err=13
E/AGORA_SDK(18819): cannot open log file for writing: /storage/emulated/0/com.fixtime.yuyu/agorartm.log, err=13
E/AGORA_SDK(18819): cannot open log file for writing: /storage/emulated/0/com.fixtime.yuyu/agorartm.log, err=13
E/AGORA_SDK(18819): cannot open log file for writing: /storage/emulated/0/com.fixtime.yuyu/agorartm.log, err=13
E/AGORA_SDK(18819): cannot open log file for writing: /storage/emulated/0/com.fixtime.yuyu/agorartm.log, err=13

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Mac OS X 10.14.6 18G87, locale en-US)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.44.2)
[✓] Connected device (1 available)

! Doctor found issues in 1 category.
(base) AnsenMBP-4:fixtime apple$

Null Safety

Migrate to null safety Agora-Flutter-RTM-SDK ?

RTM Client Work in background

I am trying to build the chat application but want the RTM Client to work in the background to listed to the RTM messages.
Is there a way to make RTM client as a service that works also when the app is terminated.
Or, is there a way to accumulate the messages when the user is offline..

sendMessageToPeer offline message

Hello,

Using sendMessageToPeer(peerid, msg, false) method to send message to an offline peer throws error code 3 which means "3: The user is offline and has not received the peer-to-peer message.".

I also tried making the last argument to true but same error thrown. Looking at the API there's an option:

'boolean io.agora.rtm.SendMessageOptions.enableOfflineMessaging = false'

By default the value is false. Is this already implemented and if so how can I enable it in Flutter SDK?

Thanks

E/AGORA_SDK(17294): cannot open log file for writing: agorartm.log, err=30

Hello, can someone tell me how I can resolve this issue?
I want to sent and receive messages on the chat screen. I am using Agora RTM SDK.

///CREATING CLIENT
void _createClient() async {
_client =
await AgoraRtmClient.createInstance("19dbf56713624f4bbfbba4f10e02acf6");
_client.onMessageReceived = (AgoraRtmMessage message, String peerId) {
_log("Peer msg: " + peerId + ", msg: " + message.text);
};
_client.onConnectionStateChanged = (int state, int reason) {
_log('Connection state changed: ' +
state.toString() +
', reason: ' +
reason.toString());
if (state == 5) {
_client.logout();
_log('Logout.');
setState(() {
_isLogin = false;
});
}
};

userId = '6';

try {
  await _client.login(null, userId);
  _log('_client.login Success: ' + userId);
} catch (errorCode) {
  _log('_client.login error: ' + errorCode.toString());
}

}

///SENDING MESSAGE TO PEER
void _toggleSendPeerMessage() async {
// String uid = await UserUtils.idFromCache();
String peerUid = userId;
String text = textBoxController.text;
if (text.isEmpty) {
_log('Please input text to send.');
return;
}

try {
  AgoraRtmMessage message = AgoraRtmMessage.fromText(text);
  _log(message.text);
  _log('Sending peer message. = > peerUid = $peerUid, message = $message');
  await _client
      .sendMessageToPeer(peerUid, message, false)
      .then((sendResult) {
    {
      _log('Send peer message success.');
      setState(() {
        chatList.add(MSG("${textBoxController.text}"));
        textBoxController.clear();
      });

    }
  });
  _log('Send peer message success.');
} catch (errorCode) {
  _log('Send peer message error: ' + errorCode.toString());
}

}

The `agora_rtm` pod failed

  • ERROR | attributes: Missing required attribute homepage.
    • WARN | license: Missing license type.
    • WARN | [iOS] keys: Missing primary key for source attribute. The acceptable ones are: git, hg, http, svn.

Error with Kotlin plugin version

Hi,

When trying to build, i got this error

* What went wrong: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 and higher. The following dependencies do not satisfy the required version: project ':agora_rtm' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71

It seems that my Kotlin Gradle plugin version doesn't match yours.
Is there any way you can upgrade the kotlin dependency of agora_rtm ?

Thanks in advance !

在 flutter 1.12.13上安卓release 包崩溃

测试机型:1加7T pro
rtm 版本:agora_rtm: ^0.9.8

现象:
打开rtm 初始化开关,应用崩溃,关闭 rtm 可以正常运行
在 debug 下可以正常运行

`Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.14.6 18G87, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Android Studio (version 3.3)
[✓] VS Code (version 1.41.1)
[✓] Connected device (1 available)`

logcat:

`2019-12-30 14:22:59.041 859-2638/? E/sensors-hal: ssc_conn_event_cb:484, event[0] msg_id=776, ts=418540088417
2019-12-30 14:22:59.042 859-2638/? E/sensors-hal: handle_sns_client_event:65, device_orient_event: ts=21794181627645, type=4
2019-12-30 14:23:00.098 859-2638/? E/sensors-hal: ssc_conn_event_cb:484, event[0] msg_id=776, ts=418560364172
2019-12-30 14:23:00.098 859-2638/? E/sensors-hal: handle_sns_client_event:65, device_orient_event: ts=21795237656551, type=0
2019-12-30 14:23:00.558 932-3972/? E/oemlogkit: oemlogkit: Android log path: (null). Inside
2019-12-30 14:23:00.558 932-3972/? E/oemlogkit: oemlogkit: !start_log, sleep
2019-12-30 14:23:01.603 1513-5036/? E/ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start
2019-12-30 14:23:01.607 2001-2003/? E/ANDR-IOP: io prefetch is disabled
2019-12-30 14:23:01.610 1513-1541/? E/system_server: Invalid ID 0x00000000.
2019-12-30 14:23:01.660 8516-8516/? E/fixtime.fixtim: Not starting debugger since process cannot load the jdwp agent.
2019-12-30 14:23:01.665 1090-8535/? E/ANDR-RAMBOOST_SERVER: ramboost cmd_len = 93 cmd: iop_start -1 com.fixtime.fixtime /data/app/com.fixtime.fixtime-CRTst439WnuUaJDnHGZR3A== false
2019-12-30 14:23:01.665 1090-8535/? E/ANDR-RAMBOOST_SERVER: is_in_recent_list is TRUE
2019-12-30 14:23:01.665 1090-8535/? E/ANDR-RAMBOOST_SERVER: io prefetch is deactivate
2019-12-30 14:23:01.668 1090-8536/? E/ANDR-RAMBOOST_SERVER: ramboost cmd_len = 95 cmd: iop_start 8516 com.fixtime.fixtime /data/app/com.fixtime.fixtime-CRTst439WnuUaJDnHGZR3A== false
2019-12-30 14:23:01.668 1090-8536/? E/ANDR-RAMBOOST_SERVER: io prefetch Capture is deactivated
2019-12-30 14:23:01.669 1513-2571/? E/ScreenModeService: getAppToken AppWindowToken{7efdd02 token=Token{6cae4d ActivityRecord{6fe19e4 u0 com.fixtime.fixtime/com.example.fixtime.MainActivity t20584}}}
2019-12-30 14:23:01.669 1513-2571/? E/ScreenModeService: setRefreshRate token AppWindowToken{7efdd02 token=Token{6cae4d ActivityRecord{6fe19e4 u0 com.fixtime.fixtime/com.example.fixtime.MainActivity t20584}}} rate 0
2019-12-30 14:23:01.713 8516-8540/? E/Perf: Fail to get file list com.fixtime.fixtime
2019-12-30 14:23:01.714 8516-8540/? E/Perf: getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
2019-12-30 14:23:01.714 8516-8540/? E/Perf: Fail to get file list com.fixtime.fixtime
2019-12-30 14:23:01.714 8516-8540/? E/Perf: getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
2019-12-30 14:23:01.714 8516-8540/? E/Perf: Fail to get file list oat
2019-12-30 14:23:01.714 8516-8540/? E/Perf: getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
2019-12-30 14:23:01.916 1513-14077/? E/ScreenModeService: getAppToken AppWindowToken{7efdd02 token=Token{6cae4d ActivityRecord{6fe19e4 u0 com.fixtime.fixtime/com.example.fixtime.MainActivity t20584}}}
2019-12-30 14:23:01.916 1513-14077/? E/ScreenModeService: setRefreshRate token AppWindowToken{7efdd02 token=Token{6cae4d ActivityRecord{6fe19e4 u0 com.fixtime.fixtime/com.example.fixtime.MainActivity t20584}}} rate 1
2019-12-30 14:23:01.937 749-8565/? E/ResolverController: No valid NAT64 prefix (112, /0)
2019-12-30 14:23:02.004 749-8569/? E/ResolverController: No valid NAT64 prefix (112, /0)
2019-12-30 14:23:02.145 851-996/? E/LocSvc_APIClientBase: onResponseCb:894] ERROR: 5 ID: 118
2019-12-30 14:23:02.209 749-8574/? E/ResolverController: No valid NAT64 prefix (112, /0)
2019-12-30 14:23:02.210 8516-8516/? E/AGORA_SDK: cannot open log file for writing: agorartm.log, err=30
2019-12-30 14:23:02.210 8516-8575/? E/AGORA_SDK: cannot open log file for writing: agorartm.log, err=30
2019-12-30 14:23:02.211 8516-8516/? E/flutter: [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(39)] java.lang.NoSuchMethodError: no static method "Lio/agora/rtm/jni/AgoraRtmServiceJNI;.SwigDirector_IChannelEventHandler_onJoinSuccess(Lio/agora/rtm/jni/IChannelEventHandler;)V"
at io.agora.rtm.jni.AgoraRtmServiceJNI.swig_module_init(Native Method)
at io.agora.rtm.jni.AgoraRtmServiceJNI.(:2)
at io.agora.rtm.jni.AgoraRtmServiceJNI.new_IRtmServiceEventHandler(Native Method)
at io.agora.rtm.jni.n.(:4)
at e.a.b.a.i$a.(:1)
at e.a.b.a.i$a.(:2)
at e.a.b.a.i.a(:12)
at e.a.b.a.i.(:15)
at e.a.b.a.k.a(:1)
at e.a.b.k.a(:1)
at e.a.a.xa.(:4)
at e.a.a.a.c(:11)
at e.a.a.a.onMethodCall(:10)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(:2)
at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(:5)
at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(:2)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:336)
at android.os.Looper.loop(Looper.java:174)
at android.app.ActivityThread.main(ActivityThread.java:7682)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
2019-12-30 14:23:02.211 8516-8516/? A/flutter: [FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(76)] Check failed: CheckException(env).

--------- beginning of crash

2019-12-30 14:23:02.211 8516-8516/? A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 8516 (fixtime.fixtime), pid 8516 (fixtime.fixtime)
2019-12-30 14:23:02.231 749-8583/? E/ResolverController: No valid NAT64 prefix (112, /0)
2019-12-30 14:23:02.231 749-8584/? E/ResolverController: No valid NAT64 prefix (112, /0)
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: Build fingerprint: 'OnePlus/OnePlus7Pro_EEA/OnePlus7Pro:10/QKQ1.190716.003/1911070200:user/release-keys'
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: Revision: '0'
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: ABI: 'arm64'
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: Timestamp: 2019-12-30 14:23:02+0800
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: pid: 8516, tid: 8516, name: fixtime.fixtime >>> com.fixtime.fixtime <<<
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: uid: 10550
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(76)] Check failed: CheckException(env).
'
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: x0 0000000000000000 x1 0000000000002144 x2 0000000000000006 x3 0000007fe5b8f260
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: x4 0000000000000080 x5 0000000000000080 x6 0000000000000080 x7 8000000000000000
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: x8 00000000000000f0 x9 64892113c7c9e1fc x10 0000000000000001 x11 0000000000000000
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: x12 fffffff0fffffbdf x13 0000000000000003 x14 0000000000000001 x15 000027ce05d5141e
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: x16 00000076a2d25738 x17 00000076a2d03be0 x18 0000000000000000 x19 0000000000002144
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: x20 0000000000002144 x21 00000000ffffffff x22 0000000000000014 x23 0000000000000099
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: x24 00000075a3fff440 x25 00000075a550c570 x26 00000075a550c5a0 x27 00000075b4bf0000
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: x28 00000075a3ee0000 x29 0000007fe5b8f300
2019-12-30 14:23:02.291 8587-8587/? A/DEBUG: sp 0000007fe5b8f240 lr 00000076a2cb5404 pc 00000076a2cb5430
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: backtrace:
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #00 pc 0000000000073430 /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: a2584ee8458a61d422edf24b4cd23b78)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #1 pc 000000000028e924 /data/app/com.fixtime.fixtime-CRTst439WnuUaJDnHGZR3A==/lib/arm64/libflutter.so!libflutter.so (offset 0x270000) (BuildId: 741afda8f9ff0f9c)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #2 pc 0000000000283938 /data/app/com.fixtime.fixtime-CRTst439WnuUaJDnHGZR3A==/lib/arm64/libflutter.so!libflutter.so (offset 0x270000) (BuildId: 741afda8f9ff0f9c)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #3 pc 000000000028238c /data/app/com.fixtime.fixtime-CRTst439WnuUaJDnHGZR3A==/lib/arm64/libflutter.so!libflutter.so (offset 0x270000) (BuildId: 741afda8f9ff0f9c)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #4 pc 00000000002bd71c /data/app/com.fixtime.fixtime-CRTst439WnuUaJDnHGZR3A==/lib/arm64/libflutter.so!libflutter.so (offset 0x270000) (BuildId: 741afda8f9ff0f9c)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #5 pc 0000000000290000 /data/app/com.fixtime.fixtime-CRTst439WnuUaJDnHGZR3A==/lib/arm64/libflutter.so!libflutter.so (offset 0x270000) (BuildId: 741afda8f9ff0f9c)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #6 pc 00000000002926ec /data/app/com.fixtime.fixtime-CRTst439WnuUaJDnHGZR3A==/lib/arm64/libflutter.so!libflutter.so (offset 0x270000) (BuildId: 741afda8f9ff0f9c)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #7 pc 000000000001836c /system/lib64/libutils.so (android::Looper::pollInner(int)+832) (BuildId: 06ffce1f95bfc99838abf018674b00d8)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #8 pc 0000000000017f8c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+56) (BuildId: 06ffce1f95bfc99838abf018674b00d8)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #9 pc 000000000013d05c /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44) (BuildId: e6bd16703da09cd81ffd2051c35a9b7d)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #10 pc 00000000002acafc /system/framework/arm64/boot-framework.oat (art_jni_trampoline+140) (BuildId: 06dbf0176553b8f5ddbe5d5f7816390d31feb793)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #11 pc 000000000074ee34 /system/framework/arm64/boot-framework.oat (android.os.MessageQueue.next+228) (BuildId: 06dbf0176553b8f5ddbe5d5f7816390d31feb793)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #12 pc 000000000074bc38 /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+680) (BuildId: 06dbf0176553b8f5ddbe5d5f7816390d31feb793)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #13 pc 00000000004d4eb4 /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.main+756) (BuildId: 06dbf0176553b8f5ddbe5d5f7816390d31feb793)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #14 pc 00000000001365b8 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 615724283373fd93e5fb77101fe57dab)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #15 pc 000000000014500c /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276) (BuildId: 615724283373fd93e5fb77101fe57dab)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #16 pc 00000000004aff10 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: 615724283373fd93e5fb77101fe57dab)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #17 pc 00000000004b1ab4 /apex/com.android.runtime/lib64/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1480) (BuildId: 615724283373fd93e5fb77101fe57dab)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #18 pc 000000000043cde8 /apex/com.android.runtime/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+52) (BuildId: 615724283373fd93e5fb77101fe57dab)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #19 pc 00000000000c2c34 /system/framework/arm64/boot.oat (art_jni_trampoline+180) (BuildId: 9c5b079029dc900d8e51f890a6592e684a834eb6)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #20 pc 00000000009cab48 /system/framework/arm64/boot-framework.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+136) (BuildId: 06dbf0176553b8f5ddbe5d5f7816390d31feb793)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #21 pc 00000000009d2740 /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2256) (BuildId: 06dbf0176553b8f5ddbe5d5f7816390d31feb793)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #22 pc 00000000001365b8 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 615724283373fd93e5fb77101fe57dab)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #23 pc 000000000014500c /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276) (BuildId: 615724283373fd93e5fb77101fe57dab)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #24 pc 00000000004aff10 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: 615724283373fd93e5fb77101fe57dab)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #25 pc 00000000004afb00 /apex/com.android.runtime/lib64/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+408) (BuildId: 615724283373fd93e5fb77101fe57dab)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #26 pc 00000000003ba5ec /apex/com.android.runtime/lib64/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+624) (BuildId: 615724283373fd93e5fb77101fe57dab)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #27 pc 00000000000c099c /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+116) (BuildId: e6bd16703da09cd81ffd2051c35a9b7d)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #28 pc 00000000000c3900 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vectorandroid::String8 const&, bool)+988) (BuildId: e6bd16703da09cd81ffd2051c35a9b7d)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #29 pc 00000000000035b0 /system/bin/app_process64 (main+1376) (BuildId: d23f7f711e9d93214484f019017fb1a7)
2019-12-30 14:23:02.352 8587-8587/? A/DEBUG: #30 pc 000000000006ebc4 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: a2584ee8458a61d422edf24b4cd23b78)
2019-12-30 14:23:02.476 749-8590/? E/ResolverController: No valid NAT64 prefix (112, /0)
2019-12-30 14:23:02.488 1257-1257/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_04
2019-12-30 14:23:02.488 1513-8591/? E/ScreenModeService: getAppToken AppWindowToken{2ec3b95 token=Token{309ef4c ActivityRecord{3f9d37f u0 net.oneplus.launcher/.Launcher t20520}}}
2019-12-30 14:23:02.488 1513-8591/? E/ScreenModeService: setRefreshRate token AppWindowToken{2ec3b95 token=Token{309ef4c ActivityRecord{3f9d37f u0 net.oneplus.launcher/.Launcher t20520}}} rate 0
2019-12-30 14:23:02.495 1513-8591/? E/ScreenModeService: getAppToken AppWindowToken{2ec3b95 token=Token{309ef4c ActivityRecord{3f9d37f u0 net.oneplus.launcher/.Launcher t20520}}}
2019-12-30 14:23:02.495 1513-8591/? E/ScreenModeService: setRefreshRate token AppWindowToken{2ec3b95 token=Token{309ef4c ActivityRecord{3f9d37f u0 net.oneplus.launcher/.Launcher t20520}}} rate 0
2019-12-30 14:23:02.506 1513-1538/? E/system_server: Invalid ID 0x00000000.
2019-12-30 14:23:02.511 1513-1538/? E/system_server: Invalid ID 0x00000000.
2019-12-30 14:23:02.519 1513-2125/? E/InputDispatcher: channel 'ce5a81c com.fixtime.fixtime/com.example.fixtime.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2019-12-30 14:23:02.529 1513-12473/? E/ScreenModeService: getAppToken AppWindowToken{2ec3b95 token=Token{309ef4c ActivityRecord{3f9d37f u0 net.oneplus.launcher/.Launcher t20520}}}
2019-12-30 14:23:02.529 1513-12473/? E/ScreenModeService: setRefreshRate token AppWindowToken{2ec3b95 token=Token{309ef4c ActivityRecord{3f9d37f u0 net.oneplus.launcher/.Launcher t20520}}} rate 0
2019-12-30 14:23:02.989 1513-1563/? E/OnePlusSmartBoostManager: Exception : file not exits :/proc/8516/memplus_type
2019-12-30 14:23:03.667 1513-1562/? E/OPPerf: Exception : file not exits :/proc/8516/main_boost_switch
2019-12-30 14:23:04.111 859-2638/? E/sensors-hal: ssc_conn_event_cb:484, event[0] msg_id=776, ts=418637596329
2019-12-30 14:23:04.111 859-2638/? E/sensors-hal: handle_sns_client_event:65, device_orient_event: ts=21799260164728, type=4
2019-12-30 14:23:04.399 859-2638/? E/sensors-hal: ssc_conn_event_cb:484, event[0] msg_id=776, ts=418642941760
2019-12-30 14:23:04.399 859-2638/? E/sensors-hal: handle_sns_client_event:65, device_orient_event: ts=21799538572593, type=0
2019-12-30 14:23:04.609 749-749/? E/Netd: Error adding route ::/0 -> fe80::ec8d:bbf0:efce:ccb0 rmnet_data1 to table 1011: File exists
2019-12-30 14:23:04.650 1513-4011/? E/WifiService: Error checking permission: java.lang.SecurityException: UID 10356 has no location permission
2019-12-30 14:23:04.650 1513-8625/? E/libc: Access denied finding property "persist.vendor.dpm.feature"
2019-12-30 14:23:04.650 1513-8625/? E/libc: Access denied finding property "persist.vendor.dpm.tcm"
2019-12-30 14:23:04.652 1513-5036/? E/WifiService: Error checking permission: java.lang.SecurityException: UID 10356 has no location permission
2019-12-30 14:23:04.673 1513-4011/? E/WifiService: Error checking permission: java.lang.SecurityException: UID 10356 has no location permission
2019-12-30 14:23:04.673 1513-8613/? E/arp_NetworkMonitor: the network is not OK, so check the duplicate mac
2019-12-30 14:23:04.763 2330-2330/? E/ndroid.systemu: Invalid ID 0x00000000.
2019-12-30 14:23:04.773 2310-3054/? E/bt_osi_wakelock: wakelock_acquire wakelock acquired
2019-12-30 14:23:04.774 2310-3056/? E/bt_osi_wakelock: wakelock_release wakelock released
2019-12-30 14:23:04.802 859-2638/? E/sensors-hal: ssc_conn_event_cb:484, event[0] msg_id=776, ts=418650867772
2019-12-30 14:23:04.802 859-2638/? E/sensors-hal: handle_sns_client_event:65, device_orient_event: ts=21799951385718, type=4
2019-12-30 14:23:05.044 1513-4628/? E/libc: Access denied finding property "persist.vendor.dpm.tcm"
2019-12-30 14:23:05.765 1513-3940/? E/TaskPersister: File error accessing recents directory (directory doesn't exist?).
`

Flutter sendLocalInvitation的问题

在Flutter SDK中 sendLocalInvitation相关方法在AgoraRtmClient中
在API的参考文档中,是出现在RtmCallManager中
在目前的Flutter SDK版本中,sendLocalInvitation等相关方式是不是暂时还不能调用?

另外,建议更新Flutter SDK的时候,把example也针对性的更新一下,不然有些方法传递的是Map<dynamic, dynamic>类型的参数,都不知道要传递的是什么。
谢谢。

关于 channel 的几个问题

1.用于实现群的需求,但看这个限制,只能同时创建20个不同的频道,这个会影响群的创建个数吗??

RTM 支持同时创建最多 20 个不同的频道实例并加入到多个频道中,但是每个频道实例必须使用不同的频道 ID 以及不同的回调。

2.一个 channel 一旦创建之后,是不是只要不调用 release 就会一直存在,在 channel 内的用户都能收到消息?用户在 channel 里的关系是否一直保留的呢?

3.channel 点对点的 消息是支持漫游的吗:用户当时不线,几天后登录能再收到消息吗?如果是漫游的,保存时间是多长?

4.类似群的场景,加入了很多个channel 后,需要建立每个对应 channel 的监听,来收消息吗?

[Error] AgoraRtmThread (31): EXC_BAD_ACCESS (code=1, address=0x18)

I use AgoraIO / Flutter-SDK and Flutter-RTM both.
I join RTC and RTM using same channel name.

When I call dispose(), this error occurred.

スクリーンショット 2020-02-25 19 48 46

I tried to catch exception but failed.
Even worse, any logs left.
This exception occurs sometimes.

What should I do ?

@override
  Future<void> dispose() async {
    super.dispose();
    try {
      await AgoraRtcEngine.leaveChannel();
      await AgoraRtcEngine.stopPreview();
      await AgoraRtcEngine.destroy();
      await _channelNameSubscription.cancel();
      if (_channel != null) {
        await _client?.releaseChannel(_channel.channelId);
      }
    } on Exception catch (e) {
      debugPrint(e.toString());
    }
  }
[✓] Flutter (Channel master, v1.15.4-pre.97, on Mac OS X 10.14.4 18E227, locale)
    • Flutter version 1.15.4-pre.97 at /xxx/flutter
    • Framework revision f81588a5a3 (6 days ago), 2020-02-18 16:33:55 -0800
    • Engine revision 77c5812d48
    • Dart version 2.8.0 (build 2.8.0-dev.9.0 999eeea5a3)

 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /xxxxx/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2.1, Build version 11B500
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 42.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.42.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.1

• No issued found!

subscribe/unsubscribe PeersOnlineStatus

Hello, I'm looking at the latest Android and IOS API and I
see subscribePeersOnlineStatus and unsubscribePeersOnlineStatus methods but not on Flutter-RTM. Is there any scheduled update to the Flutter RTM?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.