Aller au contenu

FrakEnvironment

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

sealed interface FrakEnvironment

The Frak stage the SDK talks to.

Production
Development
Custom
NameSummary
Customclass Custom : FrakEnvironment
Explicit origin pair for local development. On an emulator use 10.0.2.2, not localhost. Must be https://, or http:// to a loopback/private-network host; anything else is swapped for an unreachable placeholder and surfaces as a generic FrakError.Network on first use.
Developmentdata object Development : FrakEnvironment
Productiondata object Production : FrakEnvironment
NameSummary
backendabstract val backend: String
No trailing slash.
walletabstract val wallet: String
No trailing slash.
walletPackageIdopen val walletPackageId: String
Probed to decide whether install can deep link instead of going to the store.
walletSchemeopen val walletScheme: String