Comments (3)
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.
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.
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)
- Two way communication HOT 12
- macOS 10.13 Issue HOT 4
- 'Manager' is not descriptive or unique enough. HOT 1
- Release HOT 4
- Unable to install CallbackURLKit via CocoaPods HOT 12
- response path should be prefixed with "/" when building callback URLs HOT 1
- client.perform() never reaches onSuccess HOT 9
- Update Demo App HOT 1
- New tag for updated package.swift for Accio support HOT 1
- Any plans of keeping this library updated? HOT 1
- Ampersands in callback URL query strings should be percent-encoded. HOT 4
- Swift Package will not build in Xcode 13 (beta 3+) HOT 3
- Request ID not transmitted in responses HOT 5
- Invoking an action on a locked device doesn't work HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from callbackurlkit.