FrakEnvironment
sealed interface FrakEnvironment
The Frak stage the SDK talks to.
Inheritors
Section titled “Inheritors”| Production |
| Development |
| Custom |
| Name | Summary |
|---|---|
| Custom | class 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. |
| Development | data object Development : FrakEnvironment |
| Production | data object Production : FrakEnvironment |
Properties
Section titled “Properties”| Name | Summary |
|---|---|
| backend | abstract val backend: String No trailing slash. |
| wallet | abstract val wallet: String No trailing slash. |
| walletPackageId | open val walletPackageId: String Probed to decide whether install can deep link instead of going to the store. |
| walletScheme | open val walletScheme: String |