Giter VIP home page Giter VIP logo

banuba / banuba-react-native-agora Goto Github PK

View Code? Open in Web Editor NEW

This project forked from agoraio-extensions/react-native-agora

0.0 1.0 0.0 17.91 MB

Sample Banuba integration with Agora on React Native. Forked from https://github.com/AgoraIO-Extensions/react-native-agora

Home Page: https://www.agora.io

License: MIT License

Shell 0.30% JavaScript 0.61% Ruby 0.29% C 0.01% Objective-C 0.29% Java 1.30% TypeScript 94.76% Objective-C++ 0.74% Swift 0.01% GLSL 1.70%

banuba-react-native-agora's Introduction

This is forked Agora repository to demonstrate integration with Banuba SDK. Integration was made in JoinChannelVideo. Intial changes was made in this commit.


NOTE: These sdk and samples only for the Agora Video 4.x APIs. For examples using previous releases please see the following branches:

react-native-agora

npm npm npm npm

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

Community Contributor

The community developer Syanbo developed 1.0 version React Native SDK based on the Agora Native SDK from 2016 to 2017. As the community's demand for React Native SDK keeps growing, Agora has achieved official cooperation with Syanbo, this project now is officially maintained by Agora. Thanks to Syanbo for his long-term contributions to React Native SDK.

Release Note

Changelog

Installation

Installing (React Native >= 0.60.0)

Install react-native-agora(^4.0.0):

yarn add react-native-agora

or

npm i --save react-native-agora

Go to your ios folder and run:

pod install

General Usage

import {createAgoraRtcEngine} from 'react-native-agora';

const engine = createAgoraRtcEngine();
engine.initialize({appId: 'YOUR APP ID'});

or

const createAgoraRtcEngine = require('react-native-agora');
const engine = createAgoraRtcEngine();
engine.initialize({appId: 'YOUR APP ID'});

Using TypeScript

We suggest you use TypeScript to develop, or use TypeScript eslint to lint your code.

Troubleshooting

Pod install failed (React Native >= 0.62.0)

The error log:

[!] The 'xxx' target has libraries with conflicting names: libcrypto.a.

You should disable Flipper, you can found it in the Podfile, and comment the code about Flipper in AppDelegate.

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.
  add_flipper_pods!
  post_install do |installer|
    flipper_post_install(installer)
  end

RCT_EXTERN_MODULE Swift modules broken in Xcode 10.2

The error log:

Swift class extensions and categories on Swift classes are not allowed to have +load methods

Fixed in React Native 0.59.3.

Source: facebook/react-native#24139

XCode 11 Beta App Launch Crash

The error log:

Exception '*** -[__NSArrayM objectAtIndexedSubscript:]: index 1 beyond bounds [0 .. 0]' was thrown while invoking getCurrentAppState on target AppState with params (
2,
3
)

Fixed in React Native 0.59.9.

Source: facebook/react-native#25154

API

Resources

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

banuba-react-native-agora's People

Contributors

lichking-2234 avatar 90mark avatar zhangtao1104 avatar guoxianzhe avatar sdk-banuba avatar ekaansharora avatar bnb-itumashyk avatar maxxfrazer avatar radko93 avatar luz33c avatar pedro-rivas avatar sda-rob avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.