agora_rtm 1.5.9 copy "agora_rtm: ^1.5.9" to clipboard
agora_rtm: ^1.5.9 copied to clipboard

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

AgoraRtm #

This Flutter plugin is a wapper for Agora RTM SDK.

Pub.dev likes Pub.dev points
latest version Platform License RTE Dev Slack Link

Agora.io provides building blocks for you to add real-time messaging through a simple and powerful SDK. You can integrate the Agora RTM SDK to enable real-time messaging in your own application quickly.

Note: This plugin is still under development, and some APIs might not be available yet.

Usage #

To use this plugin, add agora_rtm as a dependency in your pubspec.yaml file.

Getting Started #

  • See the example directory for a sample app using AgoraRtm.

Error handling #

Kotlin version #

if your version less than 0.9.9, remove ext.kotlin_version = '1.3.0' from agora_rtm/build.gradle

from 0.9.9, the plugin will use your root project kotlin version, make sure your setting is correct

Release crash #

it causes by code obfuscation because of flutter set android.enableR8=true by the default

Add the following line in the app/proguard-rules.pro file to prevent code obfuscation:

-keep class io.agora.**{*;}

Note #

Flutter 1.12 #

if your MainActivity extends io.flutter.embedding.android.FlutterActivity

please remove this line

GeneratedPluginRegistrant.registerWith(this)

you can refer to official documents

How to contribute #

To help work on this sdk, see our contributor guide.

74
likes
140
points
4.75k
downloads

Publisher

verified publisheragora.io

Weekly Downloads

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

Documentation

API reference

License

MIT (license)

Dependencies

flutter, json_annotation

More

Packages that depend on agora_rtm