Skip to content

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

License

Notifications You must be signed in to change notification settings

freakdragon/CallbackURLKitSenderSample

Repository files navigation

Callback URL Kit Sender 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 sender part of sample.

You can find the second part of example here:

https://github.com/freakdragon/CallbackURLKitReceiverSample

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