Skip to content

This is an example of using CallbackURLKit. Receiver part of it.

License

Notifications You must be signed in to change notification settings

freakdragon/CallbackURLKitReceiverSample

Repository files navigation

Callback URL Kit Receiver Sample

This is an example of using CallbackURLKit (https://github.com/phimage/CallbackURLKit) when you need your own receiver and sender programs.

The sender looks like:

The receiver looks like:

The realization of success callback in the sample:

Manager.executeSuccessCallback(returnParams: ["successTextFromReceiver": textfieldSendSuccessText.text ?? ""])

The realization of failure callback in the sample:

Manager.executeFailureCallback(error: AnyError.buttonFailureError)

The realization of cancel callback in the sample:

Manager.executeCancelCallback()

This is the receiver part of sample.

You can find the second part of example here:

https://github.com/freakdragon/CallbackURLKitSenderSample

The source of CallbackURLKit is here too because I had to change access to some functions to public.

Releases

No releases published

Packages

No packages published