Package-level declarations

Types

Link copied to clipboard

Checks whether the default browser of the device is compatible with app links feature based on a static list of pre-tested browsers for app links compatibility.

Link copied to clipboard
Link copied to clipboard

Use to get the package name of the default application that can handle the passed in URI.

Link copied to clipboard
class GetReturnLinkTypeUseCase(merchantRepository: MerchantRepository, getDefaultAppUseCase: GetDefaultAppUseCase, getAppLinksCompatibleBrowserUseCase: GetAppLinksCompatibleBrowserUseCase)

Use case that returns a return link type that will be used for navigating from App Switch or browser back into the merchant app.

Link copied to clipboard
class GetReturnLinkUseCase(merchantRepository: MerchantRepository, getDefaultAppUseCase: GetDefaultAppUseCase = GetDefaultAppUseCase(merchantRepository.applicationContext.packageManager), getAppLinksCompatibleBrowserUseCase: GetAppLinksCompatibleBrowserUseCase = GetAppLinksCompatibleBrowserUseCase(getDefaultAppUseCase), getReturnLinkTypeUseCase: GetReturnLinkTypeUseCase = GetReturnLinkTypeUseCase( merchantRepository, getDefaultAppUseCase, getAppLinksCompatibleBrowserUseCase ))

Use case that returns a return link that should be used for navigating from App Switch / CCT back into the merchant app. It handles both App Links and Deep Links.