{"componentChunkName":"component---src-templates-platform-tsx","path":"/platforms/android/enriching-events/context/default-context/","result":{"data":{"file":{"id":"67ff2db4-a5f4-5730-949d-55f4fb86f0ec","relativePath":"android/common/enriching-events/context/default-context.mdx","sourceInstanceName":"platforms","childMarkdownRemark":null,"childMdx":{"body":"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Default Context\",\n  \"sidebar_order\": 500\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, [\"components\"]);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"To make your life easier, the Android SDK automatically enriches the context with additional information about the device, about the system, and about the release version of your application.\"), mdx(\"p\", null, \"Default Android context should help you correlate the errors with the specific device types, releases, etc. so that you can find the root cause of the problem faster.\"), mdx(\"p\", null, \"Used SDK\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"name\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"version\")), mdx(\"p\", null, \"Operating system\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"name\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"version\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"kernel version\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"whether the application was rooted\")), mdx(\"p\", null, \"Package info\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Start time of the application\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Bundle name\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"bundle id\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"version\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"build\")), mdx(\"p\", null, \"Memory size\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Total available memory on the device\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Free memory at the moment\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Whether the memory was low\")), mdx(\"p\", null, \"Storage\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"total storage size\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"free storage size\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"total external storage size\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"free external storage size\")), mdx(\"p\", null, \"Device Info\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Manufacturer\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Brand\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Model\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Model ID\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Architecture\")), mdx(\"p\", null, \"Battery Level\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Whether the Device is being charged at the moment\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Whether the phone was online during the error/crash\")), mdx(\"p\", null, \"Screen info\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"orientation of the screen\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"screen density\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"height pixels\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"width pixels\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"resolution\")), mdx(\"p\", null, \"Emulator indicator\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Whether the device is an emulator\")), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Automatically Collected Breadcrumbs\")), mdx(\"p\", null, \"The Android SDK automatically collects and converts the following events into breadcrumbs:\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Android Activity Lifecycle Events\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Application Lifecycle Events (Lifecycle of the application process)\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"System Events (Low battery, Low storage space, Airplane mode started, Shutdown, Changes of the configuration, etc. )\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"App. Component callbacks\")));\n}\n;\nMDXContent.isMDXComponent = true;","tableOfContents":{},"internal":{"type":"Mdx"}}}},"pageContext":{"excerpt":"To make your life easier, the Android SDK automatically enriches the context with additional information about the device, about the system, and about the release version of your application. Default Android context should help you correlate the errors with the specific device types, releases, etc. so that you can find the root cause of the problem faster. Used SDK name version Operating system name version kernel version whether the application was rooted Package info Start time of the application Bundle name bundle id version build Memory size Total available memory on the device Free memory at the moment Whether the memory was low Storage total storage size free storage size total external storage size free external storage size Device Info Manufacturer Brand Model Model ID Architecture Battery Level Whether the Device is being charged at the moment Whether the phone was online during the error/crash Screen info orientation of the screen screen density height pixels width pixels resolution Emulator indicator Whether the device is an emulator Automatically Collected Breadcrumbs The Android SDK automatically collects and converts the following events into breadcrumbs: Android Activity Lifecycle Events Application Lifecycle Events (Lifecycle of the application process) System Events (Low battery, Low storage space, Airplane mode started, Shutdown, Changes of the configuration, etc. ) App. Component callbacks","title":"Default Context","sidebar_order":500,"platform":{"name":"android","title":"Android"},"notoc":true,"id":"67ff2db4-a5f4-5730-949d-55f4fb86f0ec"}},"staticQueryHashes":["1218203755","1222113826","1222113826","1766336459","2158593473","2404336828","2472290386","2764967025","3818502851","4015007367","4192517163","4264099332","518019976"]}