# FrakEnvironment

```swift
enum FrakEnvironment
```

**Conforms to** `Swift.Equatable`, `Swift.Hashable`, `Swift.Sendable`

Defined in: [Sources/FrakSDK/Core/FrakEnvironment.swift:4](https://github.com/frak-id/wallet/blob/35995d05c807efe1e0d6319fdede3ad363124d1e/sdk/ios/Sources/FrakSDK/Core/FrakEnvironment.swift#L4)

## Cases

### FrakEnvironment.custom(wallet:backend:walletScheme:)

```swift
case custom(wallet: String, backend: String, walletScheme: String)
```

### FrakEnvironment.development

```swift
case development
```

### FrakEnvironment.production

```swift
case production
```

## Properties

### backend

```swift
var backend: String { get }
```

### wallet

```swift
var wallet: String { get }
```

### walletScheme

```swift
var walletScheme: String { get }
```

## Type methods

### custom(wallet:backend:)

```swift
static func custom(wallet: String, backend: String) -> FrakEnvironment
```

Local backend serves self-signed HTTPS; needs an ATS exception on device. `walletScheme`
defaults to Frak's own dev wallet, which is almost never right for a merchant's stub
server: use `custom(wallet:backend:walletScheme:)` to override it.

## Operators

### !=(_:_:)

```swift
static func != (lhs: Self, rhs: Self) -> Bool
```

Returns a Boolean value indicating whether two values are not equal.

Inequality is the inverse of equality. For any values `a` and `b`, `a != b`
implies that `a == b` is `false`.

This is the default implementation of the not-equal-to operator (`!=`)
for any type that conforms to `Equatable`.

- Parameters:
  - lhs: A value to compare.
  - rhs: Another value to compare.