0 purchases
agora rtm
AgoraRtm #
This Flutter plugin is a wapper for Agora RTM SDK.
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.**{*;}
copied to clipboard
Note #
Flutter 1.12 #
if your MainActivity extends io.flutter.embedding.android.FlutterActivity
please remove this line
GeneratedPluginRegistrant.registerWith(this)
copied to clipboard
you can refer to official documents
How to contribute #
To help work on this sdk, see our contributor guide.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.