Package Exports
- agora-react-native-rtm
- agora-react-native-rtm/lib/commonjs/index.js
- agora-react-native-rtm/lib/module/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (agora-react-native-rtm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
agora-react-native-rtm
This SDK takes advantage of React Native and Agora RTM SDK on Android && iOS.
Release Note
Installation
Installing (React Native >= 0.70.0)
Install agora-react-native-rtm(^2.2.3):
yarn add agora-react-native-rtmor
npm i --save agora-react-native-rtmGo to your ios folder and run:
pod installGeneral Usage
import { createAgoraRtmClient, RtmConfig } from 'agora-react-native-rtm';
const engine = createAgoraRtmClient(
new RtmConfig({
userId: Config.uid,
appId: Config.appId,
})
);Doc
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT