vibes-react-native 5.0.0 → 5.0.1-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -35,10 +35,8 @@ class VibesPluginLogger: NSObject {
|
|
|
35
35
|
if let devId = UserDefaults.standard.vibesDeviceId {
|
|
36
36
|
deviceId = devId
|
|
37
37
|
}
|
|
38
|
-
//
|
|
39
|
-
|
|
40
|
-
fatalError("`\(ConfigKey.vibesAppEnv.value())` must be set in plist file of current build configuration")
|
|
41
|
-
}
|
|
38
|
+
// Prefer VibesAppEnv from Info.plist; default to production when unset.
|
|
39
|
+
let env = Configuration.configValue(.vibesAppEnv) ?? "PROD"
|
|
42
40
|
let jsonObj: [String: Any] = ["os_type": "iOS",
|
|
43
41
|
"device_id": deviceId ?? " - ",
|
|
44
42
|
"env": env,
|