Giter VIP home page Giter VIP logo

Comments (3)

dshomoye avatar dshomoye commented on July 28, 2024

Okay so I just noticed that the callback does seem to be working - but each onSuccess callback is spinning up a separate window. The actual callback that's passed doesn't get triggered, but specifying a callback will make the app receive the results in a new instance that macOs spins up. I'm guessing this is probably because iOS doesn't have to worry about windows. If I could figure out a way to get SwiftUI to always redirect to the current window then I think this could be resolved.

from callbackurlkit.

phimage avatar phimage commented on July 28, 2024

the callback are called only if the app respond to it, this an optional part of the protocol

for that an action must be implemented like described
https://github.com/phimage/CallbackURLKit#add-new-action
success, failure, cancel are closure to call to respond

there is an example here
https://github.com/phimage/CallbackURLKit/blob/master/SampleApp/CallbackURLKitDemo/CallbackURLKitDemo.swift#L43

from callbackurlkit.

dshomoye avatar dshomoye commented on July 28, 2024

Thanks for replying! I haven't gotten around to testing this but I don't really need the app anymore, for now.
Don't want to keep issues cluttered so I'll close this.

from callbackurlkit.

Related Issues (15)

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.