JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3006
  • Score
    100M100P100Q128536F
  • License MIT

React Native around the Agora RTM SDKs for Android and iOS agora

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

npm npm npm npm

This SDK takes advantage of React Native and Agora RTM SDK on Android && iOS.

Release Note

Changelog

Installation

Installing (React Native >= 0.70.0)

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

General 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