Aller au contenu

DisplaySharingPageResultType

Ce contenu n’est pas encore disponible dans votre langue.

DisplaySharingPageResultType = { action: "shared" | "copied" | "dismissed"; installUrl?: string; }

Defined in: types/rpc/displaySharingPage.ts:86

Result of the sharing page display

action: "shared" | "copied" | "dismissed"

Defined in: types/rpc/displaySharingPage.ts:93

The action the user took

  • “shared”: User used the native share dialog
  • “copied”: User copied the link to clipboard
  • “dismissed”: User dismissed the sharing page without acting

optional installUrl?: string

Defined in: types/rpc/displaySharingPage.ts:99

The install URL for the Frak app Can be used as a fallback to redirect the user to the install page from the merchant’s top-level page (e.g. via window.location.href)