eligibleURLs
TypeScriptstatic get eligibleURLs(): Promise<(Array<string>) | null>Swift declarationstatic var eligibleURLs: [URL]? { get async }enum · iOS 15.4+ · SDK 27.1
enum ExternalPurchaseLinkstatic get eligibleURLs(): Promise<(Array<string>) | null>Swift declarationstatic var eligibleURLs: [URL]? { get async }static openUrl(url: string): Promise<void>Swift declarationstatic func open(url: URL) async throwsstatic open(): Promise<void>Swift declarationstatic func open() async throwsOpens the external link in the user's default browser. Only call this method as a result of deliberate user interaction, such as tapping a button. If `canOpen` is `false`, this method will always fail. This method does not guarantee the user was redirected to the external link if an error is not thrown. - Throws: A `StoreKitError`
static get canOpen(): Promise<boolean>Swift declarationstatic var canOpen: Bool { get async }Whether the app can open the external link. Check this property before showing any UI controls that the user can use to open the external link Check the value of this property again and update your UI if `Storefront.current` changes. - Important: If this property is `false`, do not show UI controls that call `open()` as the method will always fail.
No declarations were skipped in this snapshot.