Giter Site home page Giter Site logo

Comments (10)

RochakShrestha19 avatar RochakShrestha19 commented on June 2, 2024

I've been also facing the same issue. My AppDelegate.swift is also the same. Please help me @hiennguyen92

from flutter_callkit_incoming.

hiennguyen92 avatar hiennguyen92 commented on June 2, 2024

can you give me video record screen of the whole process?

from flutter_callkit_incoming.

hiennguyen92 avatar hiennguyen92 commented on June 2, 2024

maybe you use the same uuid for the calls. you can change them for each call and let me know the result. thank

from flutter_callkit_incoming.

joshisijan avatar joshisijan commented on June 2, 2024

Doesn't UUID().uuidString gives unique UUID every time it is called for every incoming push received? @hiennguyen92
Screenshot 2023-06-28 at 11 10 18 AM

from flutter_callkit_incoming.

hiennguyen92 avatar hiennguyen92 commented on June 2, 2024

seems strange. It is show the encryption handle

from flutter_callkit_incoming.

joshisijan avatar joshisijan commented on June 2, 2024

When I put GeneratedPluginRegistrant.register(with: self) in front of VOIP setup in AppDelegate.swift like in upper code this issue occurs. But if I place GeneratedPluginRegistrant.register(with: self) after VOIP setup like

   // Setup VOIP
    let mainQueue = DispatchQueue.main
    let voipRegistry: PKPushRegistry = PKPushRegistry(queue: mainQueue)
    voipRegistry.delegate = self
    voipRegistry.desiredPushTypes = [PKPushType.voIP] 

   GeneratedPluginRegistrant.register(with: self)

then every thing work without any issue for Foreground and Background state. But for terminated State i have following result:

  • for first call Same gibberish is shown
  • but after first call from second call everything works

If you find any solution it would be great.

@hiennguyen92

from flutter_callkit_incoming.

RochakShrestha19 avatar RochakShrestha19 commented on June 2, 2024

When I put GeneratedPluginRegistrant.register(with: self) in front of VOIP setup in AppDelegate.swift like in upper code this issue occurs. But if I place GeneratedPluginRegistrant.register(with: self) after VOIP setup like

   // Setup VOIP
    let mainQueue = DispatchQueue.main
    let voipRegistry: PKPushRegistry = PKPushRegistry(queue: mainQueue)
    voipRegistry.delegate = self
    voipRegistry.desiredPushTypes = [PKPushType.voIP] 

   GeneratedPluginRegistrant.register(with: self)

then every thing work without any issue for Foreground and Background state. But for terminated State i have following result:

  • for first call Same gibberish is shown
  • but after first call from second call everything works

If you find any solution it would be great.

@hiennguyen92

It has also been the exact same case for me. Did you find the solution @joshisijan?
@hiennguyen92, a solution would be appreciated.

from flutter_callkit_incoming.

joshisijan avatar joshisijan commented on June 2, 2024

I haven't found any solution @RochakShrestha19.

wbu @hiennguyen92 ?

from flutter_callkit_incoming.

joshisijan avatar joshisijan commented on June 2, 2024

Issue is solved. There was two package both using CallKit. Removed PushKit implementation from one of the package to solve the problem.

from flutter_callkit_incoming.

jerrypaulsam avatar jerrypaulsam commented on June 2, 2024

I have the same issue and I am not using any other packages. Does anyone got a solution other than the one mentioned above?

Thanks

from flutter_callkit_incoming.

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.