UNPKG

@launchdarkly/react-native-client-sdk

Version:
37 lines 1.03 kB
var _a; import { Platform } from 'react-native'; import locale from './locale'; export const ldApplication = { // key is populated by common/client-sdk key: '', envAttributesVersion: '1.0', locale, // These are not automatically generated. Use LDOptions.applicationInfo // to specify these values. id: '', name: '', version: '', versionName: '', }; export const ldDevice = { // key is populated by common/client-sdk key: '', envAttributesVersion: '1.0', manufacturer: Platform.select({ ios: 'apple', android: Platform.constants.Manufacturer, }), model: Platform.select({ // ios: model n/a from PlatformIOSStatic android: Platform.constants.Model, }), os: { family: Platform.select({ ios: 'apple', default: Platform.OS, }), name: Platform.OS, version: (_a = Platform.Version) === null || _a === void 0 ? void 0 : _a.toString(), }, }; //# sourceMappingURL=autoEnv.js.map