AgoraIO-Community / ReactNative-UIKit-example

Example code implementing the React Native UIKit
3 stars 3 forks source link

it shows only black screen #1

Closed King-Mufasa closed 2 years ago

King-Mufasa commented 2 years ago

I run it on android emulator and it show black screen only.

const VideoCall = () => { const [videoCall, setVideoCall] = useState(true); const rtcProps = { appId: 'code', channel: 'test', }; const callbacks = { EndCall: () => setVideoCall(false), }; return videoCall ? (

) : ( <> ); }; export default VideoCall;
EkaanshArora commented 2 years ago

Did you remove this line on purpose?

<AgoraUIKit rtcProps={rtcProps} callbacks={callbacks} />

Are you using a valid Agora App ID?

EkaanshArora commented 2 years ago

Closing due to inactivity, feel free to reopen if you're facing issues, thanks