Agora.io voice call quickstart not working - react-native

I followed this tutorial https://github.com/aryankush25/ReactNativeAgoraApp which I believe is the hooks equivalent to the agora.io voicemail quickstart guide https://docs.agora.io/en/Voice/start_call_audio_react_native?platform=React%20Native however it won't work for some reason.
This is the error I run into (when running on an iOS simulator):
TypeError: null is not an object (evaluating 'AgoraRtcChannelModule.prefix')

The repo you mentioned is not an official Agora example, I wouldn't be able to help there. Maybe open a github issue.
However, you can use this quickstart from the Agora community, you can comment out await this._engine.enableVideo() (line 65) and tweak the UI to make it audio only. You can adapt this to use functional components.
You can also check this example app for audio broadcasting.

Related

React Native Expo Google Auth Login

Has anyone been able to get Google Auth working on an Android Standalone app?
I can't get expo-auth-session to work.
expo-google-app-auth is deprecated and I can't get it to work anyways.
Are there any working plugins/packages? Can anyone give a working example of code for an Android Standalone app?
In this YouTube video, you can find some solution, maybe. But it does not works for me becouse I use EXPO SDK 45 version and It seems, It does not work well on it.
https://www.youtube.com/watch?v=hmZm_jPvWWM
You can find the Github repo here:
https://github.com/chelseafarley/google-auth-demo

Suggestion for React Native

Greetings!! I am developing an app with React Native. Which uses chroma key functionality for live streaming or video recording. I failed to find any ready library or plugin. As well as could not find any ready code to help me.
If you have any suggestion for it then do let me know. It would be a great help
Regards
If you want to use the live streaming function, you can use WebRTC technology.
The appropriate react-native library address is as follows.
react-native-webrtc

Live Broadcasting React-Native Sdk not found

I am developing app on react native for video calling and live broadcasting. I have found react-native sdk for video calling but unfortunately i did not find any react-native sdk for live broadcasting. Is there any react-native sdk for live broadcasting of Agora? If any one can help me regarding this, i would be very thankful.
You can perform live broadcasting by using the video calling SDK itself.
You can set the role of a user as "broadcaster" or "audience" using the setClientRole method.
e.g RTCEngine.setClientRole(0); (audience: 0, host: 1)
https://agora-rn-uikit.netlify.com/docs/api/classes/_rtcengine_native_.rtcengine#static-setclientrole

Recommended libraries for building an app which includes for deep linking and oauth

I have recently started to build a react-native app, which I want to build for both iOS and Android using a firebase Backend, and Branch.io/Firebase deep-linking services. I want to include in it both OAuth provided by Google and some kind of invitation link by using deep-linking. I have encountered problems in finding a way of supporting both.
It is worth mentioning that I am new to React and javascript, and have no experience in it.
I have tried using react-native-cli and tried to add OAuth to Google using firebase. I couldn't find enough documentation, so I followed a tutorial on youtube, and only managed to make it work by switching to Expo instead of react-native-cli.
Then I tried implementing some kind of invitation to groups in my app, using deep linking. I tried firebase's Dynamic links but got an error that firebase.links() is not a function and couldn't solve it due to lack of docs about it.
I then found out about react-native-branch library. It is in Alpha version in Expo so in order to use the native module I found out that I had to detach from Expo, and I wonder if there's an easier way to do it.
I've spent several days, as expected, in order to try and solve those issues. Is there a relatively simple way to do it?

How to create react-native app for route like uber, with the use of HERE-MAP?

installed 'npm install react-native-heremaps --save'
This is for react-native init android, I tried some application using ios concept.
Error
Loading dependency graph, done. Error: Unable to resolve module ./index
Referrence:
Github ios sample
this question is a bit vague for SO, something that would require an entire course to answer. Currently it looks like you should learn how to do react-native android before attempting to add on top HERE. There are many great tutorials to get that started and working.
For the here portion you will have to use the Here-Maps-SDK. Since there isn't a react version of this SDK, you will need to link it using a react bridge.
It's not that easy of a process, and will take a decent amount of work to get right.
Here are some examples to help get started: https://hackernoon.com/react-native-bridge-for-ios-and-android-43feb9712fcb
https://facebook.github.io/react-native/docs/native-modules-ios