{
    "componentChunkName": "component---src-templates-article-index-js",
    "path": "/developers/android/architecture-overview/user-agent",
    "result": {"data":{"mdx":{"body":"var _excluded = [\"components\"];\n\nfunction _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/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"User agent\",\n  \"sortOrder\": 7\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"The PoqSDK appends a custom user agent string to HTTP requests. This is configurable via \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"CoreSettings.userAgent\"), \" using the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"PoqUserAgent\"), \" data class.\"), mdx(\"p\", null, \"By default, the user agent is set to \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"PoqApp/{versionCode}\"), \" for all request types. Each property allows overriding the user agent for a specific context:\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"default\"), \": The base user agent string used as fallback for all other properties.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"webView\"), \": User agent appended to WebView requests.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"assets\"), \": User agent appended to image/video loading requests.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"api\"), \": User agent appended to API requests.\")));\n}\n;\nMDXContent.isMDXComponent = true;","excerpt":"The PoqSDK appends a custom user agent string to HTTP requests. This is configurable via  CoreSettings.userAgent  using the  PoqUserAgent…","fields":{"lastModified":"2026-03-30 12:38:52 +0200\n","slug":"/developers/android/architecture-overview/user-agent"},"frontmatter":{"date":null,"excerpt":null,"published":null,"title":"User agent"},"headings":[],"rawBody":"---\ntitle: User agent\nsortOrder: 7\n---\n\nThe PoqSDK appends a custom user agent string to HTTP requests. This is configurable via `CoreSettings.userAgent` using the `PoqUserAgent` data class.\n\nBy default, the user agent is set to `PoqApp/{versionCode}` for all request types. Each property allows overriding the user agent for a specific context:\n\n* `default`: The base user agent string used as fallback for all other properties.\n* `webView`: User agent appended to WebView requests.\n* `assets`: User agent appended to image/video loading requests.\n* `api`: User agent appended to API requests.\n","timeToRead":1}},"pageContext":{"id":"876af95b-18d8-5064-a1e4-10d986c28853","breadcrumb":{"location":"/developers/android/architecture-overview/user-agent","crumbs":[{"pathname":"/","crumbLabel":"Home"},{"pathname":"/developers","crumbLabel":"developers"},{"pathname":"/developers/android","crumbLabel":"android"},{"pathname":"/developers/android/architecture-overview","crumbLabel":"architecture-overview"},{"pathname":"/developers/android/architecture-overview/user-agent","crumbLabel":"user-agent"}]}}},
    "staticQueryHashes": ["2937047697","3649515864","63159454"]}