This SDK takes advantage of React Native and Agora RTM SDK on Android && iOS.
Install agora-react-native-rtm
(^2.2.3):
yarn add agora-react-native-rtm
or
npm i --save agora-react-native-rtm
Go to your ios folder and run:
pod install
import { createAgoraRtmClient, RtmConfig } from 'agora-react-native-rtm';
const engine = createAgoraRtmClient(
new RtmConfig({
userId: Config.uid,
appId: Config.appId,
})
);
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT