-
Notifications
You must be signed in to change notification settings - Fork 9
/
DeviceStoreStub.kt
35 lines (32 loc) · 1.21 KB
/
DeviceStoreStub.kt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package io.customer.sdk.utils
import io.customer.sdk.data.store.ApplicationStore
import io.customer.sdk.data.store.BuildStore
import io.customer.sdk.data.store.DeviceStore
import io.customer.sdk.data.store.DeviceStoreImp
import java.util.*
class DeviceStoreStub {
val deviceStore: DeviceStore
get() = DeviceStoreImp(
buildStore = object : BuildStore {
override val deviceBrand: String
get() = "Google"
override val deviceModel: String
get() = "Pixel 6"
override val deviceManufacturer: String
get() = "Google"
override val deviceOSVersion: Int
get() = 30
override val deviceLocale: String
get() = Locale.US.toLanguageTag()
},
applicationStore = object : ApplicationStore {
override val customerAppName: String
get() = "User App"
override val customerAppVersion: String
get() = "1.0"
override val isPushEnabled: Boolean
get() = true
},
version = "1.0.0-alpha.6"
)
}