udwOcAppStore

package
v0.0.0-...-f254aa5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusPayLoadingTypeRestore     = "Restore"
	StatusPayLoadingTypeSubscribing = "Subscribing"
	StatusPayLoadingTypeHide        = "Hide"

	StatusPayAlertTypeCantMakePayment   = "CantMakePayment"
	StatusPayAlertTypeProductIdNil      = "ProductIdNil"
	StatusPayAlertTypeNotExistProduct   = "NotExistProduct"
	StatusPayAlertTypeRestoreFailed     = "RestoreFailed"
	StatusPayAlertTypeFailedTransaction = "FailedTransaction"
)

Variables

This section is empty.

Functions

func GetAppStoreReceiptData

func GetAppStoreReceiptData() string

func PaySubscribe

func PaySubscribe(productId string)

func PayUpgrade

func PayUpgrade(productId string)

func RestoreAction

func RestoreAction()

func SetPayAlertCallback

func SetPayAlertCallback(f func(alertType string))

func SetPayLoadingCallback

func SetPayLoadingCallback(f func(loadType string))

func SetPayPurchasedSuccessCallback

func SetPayPurchasedSuccessCallback(f func(productId, transactionId string))

func SetPayRestoredCallback

func SetPayRestoredCallback(f func(success bool))

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL