Giter Site home page Giter Site logo

Comments (14)

syedfahadhussain-rn avatar syedfahadhussain-rn commented on August 19, 2024

I have tried passing tokens and without token still getting the blank screen

from videouikit-reactnative.

EkaanshArora avatar EkaanshArora commented on August 19, 2024

Can you share your code?

from videouikit-reactnative.

syedfahadhussain-rn avatar syedfahadhussain-rn commented on August 19, 2024

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.

EkaanshArora avatar EkaanshArora commented on August 19, 2024

Did you forget to render the UIKit?

...
return videoCall ? (
<AgoraUIKit rtcProps={rtcProps} callbacks={callbacks} />
) : (
...

from videouikit-reactnative.

syedfahadhussain-rn avatar syedfahadhussain-rn commented on August 19, 2024

Yes I have rendered UIkit but it is not showing properly in comment @EkaanshArora .
image

from videouikit-reactnative.

EkaanshArora avatar EkaanshArora commented on August 19, 2024

Do you get any errors in the console? It's hard to think of a possible issue with the limited information.

from videouikit-reactnative.

syedfahadhussain-rn avatar syedfahadhussain-rn commented on August 19, 2024

@EkaanshArora ,
No errors prints on console.

from videouikit-reactnative.

EkaanshArora avatar EkaanshArora commented on August 19, 2024

Can you reproduce the issue with this repo on your device? Can you also try this sample app?

from videouikit-reactnative.

syedfahadhussain-rn avatar syedfahadhussain-rn commented on August 19, 2024

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.

EkaanshArora avatar EkaanshArora commented on August 19, 2024

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.

syedfahadhussain-rn avatar syedfahadhussain-rn commented on August 19, 2024

Can you please tell me which example you have ran..? @EkaanshArora

from videouikit-reactnative.

EkaanshArora avatar EkaanshArora commented on August 19, 2024

This one: https://github.com/AgoraIO-Community/ReactNative-UIKit-example

from videouikit-reactnative.

syedfahadhussain-rn avatar syedfahadhussain-rn commented on August 19, 2024

@EkaanshArora

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)>, ]}

image

from videouikit-reactnative.

syedfahadhussain-rn avatar syedfahadhussain-rn commented on August 19, 2024

I have checked that agora won't supporting in android version 12 @EkaanshArora

from videouikit-reactnative.

Related Issues (20)

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.