Comments (14)
I have tried passing tokens and without token still getting the blank screen
from videouikit-reactnative.
Can you share your code?
from videouikit-reactnative.
sure @EkaanshArora ,
import React, {useState} from 'react';
import AgoraUIKit from 'agora-rn-uikit';
import { Text } from 'react-native';
const App = () => {
const [videoCall, setVideoCall] = useState(true);
const rtcProps = {
appId: 'My App ID',
channel: 'TestCalling',
token:'My Token',
};
const callbacks = {
EndCall: () => setVideoCall(false),
};
return videoCall ? (
) : (
<Text onPress={()=>setVideoCall(true)}>Start Call
);
};
export default App;
from videouikit-reactnative.
Did you forget to render the UIKit?
...
return videoCall ? (
<AgoraUIKit rtcProps={rtcProps} callbacks={callbacks} />
) : (
...
from videouikit-reactnative.
Yes I have rendered UIkit but it is not showing properly in comment @EkaanshArora .
from videouikit-reactnative.
Do you get any errors in the console? It's hard to think of a possible issue with the limited information.
from videouikit-reactnative.
@EkaanshArora ,
No errors prints on console.
from videouikit-reactnative.
Can you reproduce the issue with this repo on your device? Can you also try this sample app?
from videouikit-reactnative.
I have tried to reproduce using the above repo but getting,
LOG callback not found {"children": [<Context.Consumer>[Function anonymous]</Context.Consumer>, <ForwardRef(ScrollView) horizontal={true} showsHorizontalScrollIndicator={false} style={[Object]}><Context.Consumer … /></ForwardRef(ScrollView)>, ]}
LOG {"max": [{"audio": true, "uid": "local", "video": true}], "min": []} {"type": "FullScreen", "value": []} {}
from videouikit-reactnative.
I just did a fresh clone of the example project, added my AppID and ran it on the Android Emulator. Works fine for me.
from videouikit-reactnative.
Can you please tell me which example you have ran..? @EkaanshArora
from videouikit-reactnative.
This one: https://github.com/AgoraIO-Community/ReactNative-UIKit-example
from videouikit-reactnative.
I have also tried to clone the project and but still facing error
callback not found {"children": [<Context.Consumer>[Function anonymous]</Context.Consumer>, <ForwardRef(ScrollView) horizontal={true} showsHorizontalScrollIndicator={false} style={[Object]}><Context.Consumer … /></ForwardRef(ScrollView)>, ]}
from videouikit-reactnative.
I have checked that agora won't supporting in android version 12 @EkaanshArora
from videouikit-reactnative.
Related Issues (20)
- Crash when tearing down AgoraUIKit component HOT 3
- Min view container (own camera preview) UI Issue HOT 2
- Screen Share HOT 3
- Other users cannot Join video stream with token gotten from agora-web-services such as Render & Railway. Only displaying a video screen. HOT 1
- Receiver User immediate offline after Join HOT 2
- How to show audio only when call gets started? HOT 1
- Quick start example not working react-native 0.7 HOT 4
- `new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method. HOT 4
- Error when ending call HOT 1
- layout is not changing. HOT 1
- How to make a voice call using Agora.io in react native? HOT 2
- Import EndCall, MuteAudio, MuteVideo functions HOT 2
- Customizing style HOT 2
- unable to start rtm CHANNEL_MESSAGE_ERR_USER_NOT_LOGGED_IN HOT 7
- onUserJoined callback not working? HOT 1
- RtmToken is not used in RtmConfigure.tsx file in LoginV2 function
- 'connection-state-change' as React UI Kit HOT 1
- By using this package, I integrated the audio functionality. However, the voice is currently coming through the speaker. How can we enable the audio to use the earpiece instead?
- In multiple person video call we are getting black space in video frame & Live streaming issues HOT 10
- Invariant Violation: "main" has not been registered
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from videouikit-reactnative.