Skip to content

SharingResult

enum SharingResult

How a sharing sheet ended.

Conforms to Swift.Sendable

Defined in: Sources/FrakSDKUI/SharingResult.swift:4

case copied(link: String)
case dismissed
case failed(FrakError)
case installStarted

The user asked to install and the sheet took them to the wallet’s install page (or, with no identity to hand it, to the store). Informational only — do not call openFrakApp() in response; the sheet owns the step from here. Does not mean anything installed.

case shared(link: String)
case walletOpened

openFrakApp() answered .openedApp — an install this SDK observed and handed off, not a claim the backend has linked it. A merchant who needs “linked” reads that from the backend.

var kind: SharingResult.Kind { get }