Giter VIP home page Giter VIP logo

Comments (13)

tienviip avatar tienviip commented on May 17, 2024

hi @ThomasLarge have you found a solution for videocall, please support me.

from react-native-callkeep.

ThomasLarge avatar ThomasLarge commented on May 17, 2024

@tienviip do you mean how to get it working? or the issue I have above?

from react-native-callkeep.

tienviip avatar tienviip commented on May 17, 2024

@ThomasLarge yep, I also encountered your problem above, Can you help me, please.

from react-native-callkeep.

ThomasLarge avatar ThomasLarge commented on May 17, 2024

@tienviip I'm waiting on someone to help me too 😆 I'm going to try and dig into it later but haven't got the time at the moment that's why I have opened the issue

from react-native-callkeep.

LinusU avatar LinusU commented on May 17, 2024

The problem is probably that hasVideo is hard-coded to NO here:

callUpdate.hasVideo = NO;

from react-native-callkeep.

ThomasLarge avatar ThomasLarge commented on May 17, 2024

@LinusU Looks like it's here too

callUpdate.hasVideo = NO;

Do you think it's best to change the file locally or is it best to wait until the repo has been updated?

from react-native-callkeep.

danjenkins avatar danjenkins commented on May 17, 2024

from react-native-callkeep.

ThomasLarge avatar ThomasLarge commented on May 17, 2024

@danjenkins & @LinusU I have changed that file and it doesn't seem to work still I think there's more places it's hardcoded or it's something that isn't working in the package. I haven't got the time over the next couple of days to look into it more but I will over the weekend. There's also these two lines

displayIncomingCall = (uuid, handle, localizedCallerName, handleType = 'number', hasVideo = false) => {

startCall = (uuid, handle, handleType = 'number', hasVideo = false, contactIdentifier) => {

from react-native-callkeep.

jaswantjatav avatar jaswantjatav commented on May 17, 2024

HI anyone found a solution for showing incoming call ui, please help me, I am using react-native-WebRTC plugin , react-native-callkeep and want to show incoming call ui but nothing showing even I called the function
RNCallKeep.displayIncomingCall("978697869", "TESting");

But no luck, please help me if anyone got solution.

from react-native-callkeep.

danjenkins avatar danjenkins commented on May 17, 2024

@jaswantjatav if you need help then please make a new issue

from react-native-callkeep.

danjenkins avatar danjenkins commented on May 17, 2024

@ThomasLarge @LinusU

So you need to change

callUpdate.hasVideo = NO;
's NO to hasVideo

I'd just comment out the line

callUpdate.hasVideo = NO;

@ThomasLarge those 2 links to the index.js are just setting a default of false. If you pass in true it'll be true :)

Make sure you close down your metro packager etc etc and build from scratch with the change done locally in your node_modules directory if you want to test it out :)

from react-native-callkeep.

ThomasLarge avatar ThomasLarge commented on May 17, 2024

Cheers @danjenkins I will look at this tomorrow or the weekend

from react-native-callkeep.

ThomasLarge avatar ThomasLarge commented on May 17, 2024

I can confirm this is all fixed 👍

from react-native-callkeep.

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.