Skip to content
apsio/ specApsio Mobile Profile, homev0.1.0 · final
GitHub

C Changelog

2026-10-03. First draft: transport, resource, sessions, offline delivery, device clock, crashes, MetricKit, app start and screens, sampling, replay, privacy, remote configuration.

2026-10-04. Revised:

  • session.id on records, with the record winning over the Resource;
  • the session summary, sent for every session and never sampled;
  • the batch id in the Apsio-Batch-Id header, and no re-batching after the first send;
  • hot starts, iOS prewarming as its own attribute, and TTFD;
  • abnormal exits from the platform’s exit records or inference;
  • MetricKit through the iOS 27 Swift API, with MX* before it, and the full-day entry only;
  • histograms, sums and gauges for MetricKit’s three kinds of value;
  • app.installation.id, allowed and switchable;
  • replay masking that fails closed, with overrides and one precedence order;
  • apsio.error.fingerprint on handled errors;
  • the language-neutral SDK API;
  • the 30-minute and 4-hour session limits, the 15-minute policy interval and the Apsio-Sent-At header as defaults.

2026-10-04, Markdown edition. The draft moved from the page mock to Markdown in apsio-spec, and gained:

  • response codes and SDK behavior per code (1.5);
  • the 1 MiB request size and the batch id format;
  • the session summary’s attributes and rules (3.4);
  • the deterministic sampling hash (9.1) and the weights of records that are never sampled;
  • app.crash.id for crash deduplication;
  • the policy document and its schema (12.2);
  • the conformance vector format and the normalized record (appendix B).

2026-10-04, from the first SDK. Uploads handed to the operating system omit Apsio-Sent-At (5.1); the launch step of SDK vectors fetches the policy, and sampling/sdk-dropped-session-still-reports relaunches so the rate applies to a session that starts after it (9.1).

2026-10-04, from the Android SDK. Revised:

  • only an upload the operating system sends on the SDK’s behalf (a background URLSession) omits Apsio-Sent-At; a WorkManager job runs SDK code and sets it (5.1);
  • device.anr, Android’s hang record, is never sampled, like apsio.hang (9.2);
  • 408 and every 5xx are retried with backoff, any other 4xx deletes the batch, and Retry-After is honored as delay-seconds or an HTTP-date, up to the 30-minute backoff cap (1.5); the vector delivery/sdk-retry-server-error checks that a batch answered with 500 is kept;
  • the Android build id reaches the app as the manifest entry io.apsio.build_id, written by the build integration, with <package>@<versionName>+<versionCode> when it is absent (2.1);
  • a crash in a managed runtime (JVM, ART) carries the runtime’s stack text and apsio.crash.images set to [], and is deobfuscated with the mapping app.build_id names (6.1);
  • the terminate step with how: "normal" on a platform with no termination callback (B.5);
  • apsio.exit.reason is a closed list: a native crash with no crash report is signal, and excessive resource use or any other unlisted reason is unknown (6.4).

2026-10-04, from the Android SDK’s review. Only 400, 413 and a 2xx delete a batch; any status the table does not name, such as a redirect, 404 or 407 from a misconfigured proxy, is retried with backoff (1.5).

2026-10-05, from the Apple SDK’s review. The policy schema gains upper bounds: fetch_interval_seconds, session.background_timeout_seconds and session.max_length_seconds at most one day, queue.max_age_seconds at most 30 days, and version at most 2^53 - 1. An SDK rejects a document outside them and keeps its previous policy (12.2), so a misconfigured server cannot make a client overflow its time arithmetic.

2026-10-05, from metering. 402 joins the responses: the account the key belongs to cannot ingest until it is paid for (a trial that ended). The SDK keeps the batch and stops sending until the next policy fetch, as for 403; a backend that answers 402 serves the kill switch in the policy meanwhile (1.5). The vector delivery/sdk-keep-on-402 checks that the batch is kept.

2026-10-06, from the React Native SDK. A new section, 14. Cross-platform runtimes: JS errors and unhandled rejections as handled errors, fatal JS errors as crashes recorded synchronously through the native SDK’s recordHybridCrash before the framework’s handler runs, and the framework’s native fatal error of the same session (at or after the hybrid crash minus one second) not reported again; the attributes apsio.js.engine, apsio.js.mechanism, apsio.js.bundle_id and apsio.js.component_stack; the JS stack format (Hermes frame lines with bundle file names, causes, 200 frames at most); and how a backend finds a bundle’s source map. The vector crashes/sdk-hybrid-crash-next-launch checks the crash and its deduplication.

2026-10-05, from the Apple SDK’s review. Attribute values are bounded (1.6): 4 KiB per string, 64 values per array, with 8 KiB for exception.message and 128 KiB for exception.stacktrace and apsio.crash.images. A cut value ends in …[truncated] and is never cut inside a character. Log bodies are not cut. The vector transport/sdk-attribute-limits checks the cuts. apsio.crash.images is never cut as a string: whole images are left out, the frames’ images kept first, and apsio.crash.images_truncated says so (vector crashes/images-limit).

2026-10-05, for performance views. HTTP client spans MAY carry url.template, the OpenTelemetry attribute for the path’s low-cardinality template; a backend that groups requests by endpoint uses it without any query or fragment, and when it is absent derives one from url.full by replacing each percent-decoded path segment that looks like an identifier or personal data (ids, phone numbers, tokens, email addresses, free text) with {id} (8.4). The normalized record (appendix B.3) does not change, so no vector changes.

2026-10-06, from the symbolicator. A JS record with apsio.js.bundle_id is symbolicated only with that bundle’s map, and waits for it when it has not arrived, never with its build’s map, which would resolve an over-the-air bundle’s frames wrongly (14.3). Rendering errors that no error boundary caught follow the framework’s handling (a crash in React Native 0.80 and later, which reports them as fatal) with apsio.js.mechanism render, and apsio.js.component_stack reduces its locations like the frames (14.1).

2026-10-06, from the replay design (plan step 3.3). Replay frames travel in segments: about 10 seconds of keyframes and deltas, gzipped JSON (replay-segment.schema.json), uploaded as an attachment, with one apsio.replay.segment log record each; a node’s rect is in its parent’s content coordinates, so scrolling changes one scroll offset (10.2). apsio.replay.frame, apsio.replay.frame.kind and apsio.replay.sequence are gone. Attachments get their endpoint, POST /v1/attachments (1.7), which full crash reports use too. Masked text is defined exactly (replay.text_mask), so are the masking rules (replay.mask, a neutral tree each SDK maps its views onto, 10.4), and touches are shown only over what is shown: never over masked text, masked by default or not, so a PIN pad of plain buttons does not leak the PIN. The policy gains sampling.replay_rate; replay is kept with the rate session_rate × replay_rate (9.1). Sections 10.2 to 10.4 become 10.3 to 10.5.

2026-10-06, from the Android replay capture. A touch is recorded only when every node under it shows its content (10.3): checking only the topmost node let a shown overlay over masked text reveal the tap, as the Android fixture showed. Attachments back off on their own for a retried answer without Retry-After, so a backend without the attachment route never stops the batches; on 404, 405, 410 or 501 the wait starts at one hour and doubles up to 24 hours (1.7).

2026-10-06, from the replay preview parity review. The debug mask preview is the same on both platforms (13.2): showReplayMaskPreview(on), red for masked (containers included), grey for hidden (web views, maps, video and the keyboard included), a green outline where touches are recorded, 35% fill and a 1 point stroke, whether or not the session records, and never in a release app.

2026-10-06, for performance views. apsio.hang records carry apsio.hang.source, live or metrickit; hang rates and the screens of a session’s hangs use live records only, so a hang MetricKit reports a day later is not counted twice, and Android’s hangs are live (6.3). MetricKit’s hitch time ratios map to gauges in ms/s (7.3). A new section, 8.5 Frames: slow (over the display’s budget, refresh rate aware) and frozen (over 700 ms) frames of the current screen’s window, from FrameMetrics on Android (not a window’s first frame) and CADisplayLink on iOS, sent per screen visit as the delta sums apsio.frames.total, apsio.frames.slow and apsio.frames.frozen. iOS counts idle refreshes in the total, so totals and slow shares compare within one platform only.

2026-10-07, from the review of the iOS hang detector. A live hang the process does not survive is kept on disk and sent by the next launch with apsio.hang.unfinished = true and the duration seen until then, a lower bound (6.3).

2026-10-07, from the symbolicator. Each apsio.crash.images entry SHOULD carry in_app, decided on the device from where the image was loaded: inside the crashed process’s app bundle on Apple platforms (up to the first .app component, so an extension’s containing app); on Android, by package name, a shared library or APK in the package’s install directory or a shared library in its data directories. A backend uses it as sent, so a bundled vendor framework without symbols counts as in-app before any upload (6.5); the vector crashes/image-in-app checks the decision.

2026-10-07, from the Apple frames work. Metric points that belong to a session (they carry session.id, as the frame counts of 8.5 do) follow the session’s sampling and carry its rate for reweighting, like spans; MetricKit points, which belong to no session, are still always sent (9.2, 9.3).

2026-10-07, from the replay player. A delta has one order of application (10.1): its updates first (a new parent moves the node), then its removals (each id with what is under it at that point), then its adds. So one delta can move a child away from a parent it then removes, and remove an id and add it back as a new node. The function replay.apply_delta and the vector replay/delta-order state it.

2026-10-07, for journeys and funnels. A new section, 8.6 Screen views: an app.screen.view event each time a screen is shown, back navigation included, with app.screen.name and app.screen.previous_name; a screen shown again without leaving it (the background, a system dialog) sends nothing, the screen under a closing sheet is a new view (sent by the SDK where the platform calls nothing), a session’s first view is always sent, and it follows session sampling but not logs_min_severity. The function screen.views and the vector screens/screen-views state which shows send one. app.screen.load starts only when a screen is created; a screen shown again starts none (8.1).

2026-10-07, from the Apple frames measurement. An SDK MAY stop counting frames while the screen is idle (no touch, screen change, keyboard or moving scroll) and resume on the next: a frame callback on every refresh of an idle screen cost far more than the rest of the SDK (8.5).

2026-10-07, from the Android replay review. A policy’s masking.text is absent unless the app’s owner forces it: absent tightens nothing, "all" voids every unmask the app set, so a backend that sent "all" by default undid every app’s unmask. The schema no longer gives masking.text a default, the 12.2 example omits it, and an SDK MUST NOT read an absent value as "all" (10.5, 12.2). The vector replay/mask-precedence gains a policy that tightens classes only, under which the app’s unmask stands.

2026-10-07, from the Android replay privacy review. The policy’s mask_classes and hide_classes win over every setting of the app, on the node and everything inside it (10.4, 10.5): before, an app’s instance unmask beat them, which let the app loosen what the policy tightened. replay.mask and the vector replay/mask-precedence (a new case) follow.

2026-10-07, from the Android review of the idle pause. The frame counted when counting pauses is the one that ends then; the time until the first frame after the pause is no frame, so a resume is never frozen (8.5).

2026-10-07, from the SDK audits of 1.5 and 1.7. A send that the app asks for, or that a move to the background triggers, MAY skip the backoff of batches and attachments, never a Retry-After still running nor the wait after an attachment found no route: both SDKs already skipped the backoff, and the app or the user bounds how often it happens (1.5).

2026-10-07, from the Android replay audit. Attachments MAY have a size cap of their own instead of counting in the queue’s; either way they are dropped before any batch, and the queue’s maximum age applies to them (1.7, 4.1).

2026-10-07, plan step 3.6. Two calls of the SDK API get their behavior written down, as the Apple and Android SDKs implement them. Feature flags (13.4): a feature_flag.evaluation record with feature_flag.key and feature_flag.result.variant, then feature_flag.<name> on every record and in the crash context; the conventions’ own feature_flag.* names are not flags. Consent (13.5): withdrawing drops everything not yet sent and holds across launches; nothing is recorded meanwhile, and a crash of a run that ended withdrawn is never reported; giving it back starts a new session that names the withdrawn one as session.previous_id, and the withdrawn session reports no end and no summary. New SDK vectors: privacy/sdk-consent-pause-resume, privacy/sdk-consent-persists and sessions/sdk-feature-flags.

2026-10-07, APS-167. A replay token in an accessibility identifier or tag counts only as a whole word (10.4): a word is a maximal run of ASCII letters, digits and hyphens, and it must equal apsio-mask, apsio-unmask or apsio-hide exactly, case included. Before, any identifier containing a token counted, so a test id such as apsio-unmasked-total unmasked its view. Underscores separate words, so a snake_case id such as card_number_apsio-mask still masks; dotted, slashed and space-separated identifiers keep working. replay.mask and the vector replay/mask-precedence (a new case) follow.

2026-10-07, from the Android R8 review. A class named by string, by the app or by the policy, MUST keep that name in the app’s build (Android -keepnames; a Swift class with its module prefix), because a name R8 renamed matched nothing and showed what it should have hidden. A hide or mask name that does not resolve now records the session in strict mode (every text and input masked, every image and self-drawn view hidden), with a warning and an apsio.replay.strict_mode record listing the names in apsio.replay.unresolved_classes (10.4). A policy’s class lists name one platform’s classes (10.5), and a backend SHOULD warn the owner who names one (12.2). replay.mask takes unresolved, and the vector replay/mask-unresolved checks it.

2026-10-08, APS-211. The replay decision gets its own conformance function, sampling.keep_replay (B.2), and the vector sampling/replay-decision: the session decision at session_rate and the replay decision at session_rate × replay_rate, with the same hash. Section 9.1 pins the product as one IEEE 754 binary64 multiplication of the two rates as the policy gives them, so implementations compare the hash with the same number, and says that the replay rate in force at session start applies to the whole session, as the session rate does. Cases with changed_to (a policy fetched mid-session) check that; an SDK runs the function through its own session and policy code, so one that reads the current policy fails them.

2026-10-13. The normalized record (B.3) carries a span’s kind and status, so ingest vectors can check that a backend keeps them; the description is kept only with ERROR, as the OpenTelemetry trace API ignores it otherwise.

2026-10-13, APS-349. Replay segments hold up to 60 seconds of frames instead of about 10, and every segment starts with a keyframe (10.1, 10.2). A session sends at most 5 segments, the first 3 and the last 2, held on the device until the session ends or the next launch; the open segment is saved at least every 10 seconds, so a crash loses at most those seconds, and held and saved segments hold only masked frames (10.6). The policy gains replay.max_minutes_per_session, which can only lower the limit (12.2). The function replay.kept_segments (B.2) and the vector replay/session-limit check the choice.

2026-10-14, APS-356. Instrumentation (section 15): an SDK writes every signal family to a store on the device, masked, and the policy decides what leaves it, when, and when it is deleted.

  • Seven families: summary, errors, logs, spans, network, metrics and replay (15.1).
  • Each family has a mode in the policy’s instrumentation.families (15.3): always; sampled at a rate; on_trigger, with triggers (crash, error, anr, event:<name>) and a window of minutes before the trigger, after which the family stays released for the rest of the session; or never. A family the policy does not name is in always mode.
  • Session sampling becomes the sampled mode, decided per family at session start with 9.1’s hash. The policy’s sampling object, with session_rate and replay_rate, is removed; so are the function sampling.keep_replay and the vector sampling/replay-decision, replaced by instrumentation.decisions.
  • In sampled mode, the first error of each issue this month passes, by a device fingerprint (15.7).
  • Records released by a trigger or a remote request carry apsio.sampling.released and count in no estimate. A rate on the Resource no longer applies to summary and errors records (9.3).
  • Remote requests (15.5): the policy’s requests (at most 100) ask one install or one app user, matched by a hash of the request id and the install id or user hash, to send what it holds, never included, or to delete it. The SDK answers with an apsio.remote_request record. Consent and the kill switch always win.
  • Retention and the cap (15.6): instrumentation.retention_hours (24 by default, at most 168) replaces queue.max_age_seconds, counted from the record’s time. The store holds at most 20 MiB, replay at most 10 MiB of it, and is emptied when consent is withdrawn or the kill switch turns on.
  • The SDK API gains trigger(name, attributes) (section 13).
  • Conformance: the functions instrumentation.decisions, instrumentation.window, instrumentation.request_match and error.device_fingerprint; the SDK step policy; sent and never_sent in an sdk vector’s expectations (B.4); and the vectors under instrumentation/ and crashes/device-fingerprint.
  • A sampled family may list triggers too: a session outside its sample that crashes sends the window before the crash (15.4). The error trigger fires on a crash or exit found at the next launch, at its time. Records are sealed per family, session and user.hash, so a delete by user reaches queued records, and an SDK may re-encode a held batch when it releases it (15.2).

2026-10-14. A backend MAY refuse records without session.id, such as a server’s, with 403 PERMISSION_DENIED and a google.rpc.ErrorInfo reason, but never MetricKit points for lacking one (1.5). Ingest vectors gain backend, the state the backend holds for the app key (appendix B.1), and the vectors transport/sessionless-refused and metrics/metrickit-not-sessionless.

2026-10-14, APS-356. A remote delete that lists no families covers summary too (15.5), and the vector instrumentation/sdk-remote-delete-queued no longer fixes the count: an SDK may hold other records of the user, such as the summary written at the exit.

2026-10-14, APS-356. Appendix B.4: an sdk vector’s expectations consider only the requests the network delivered; an attempt made while offline sent nothing, and a timed-out request counts.

2026-10-14, APS-327. Logs (13.6): a log record’s logger is its InstrumentationScope name (the app’s logger in log(), or the platform logger’s category, tag or console through a bridge), and every log record carries app.screen.name, the screen shown when it was created. The normalized record and an sdk vector’s records gain scope (B.3, B.5); the vectors logs/sdk-logger-and-screen and logs/scope-kept check them.

2026-10-14, APS-201 (D113). Exit reasons (6.4): apsio.exit.reason is one closed list for every platform, now with crash, memory_pressure, cpu, locked_file, user_quit, app_update, os_update and normal, each of kind failure or not. memory is a kill for memory while visible or over the per-app limit, memory_pressure an eviction in the background, crash a crash the platform records without a report (Android’s REASON_CRASH_NATIVE with no tombstone, no longer signal). Only failures send app.abnormal_exit; the others close the session with an exited summary that carries the exit attributes, and a crashed session’s summary carries crash (3.4); at an equal time, an exited summary replaces an active one. New attributes apsio.exit.platform_reason (the platform’s own name for the reason) and apsio.exit.memory.footprint (the last recorded footprint). Inference adds app_update, os_update and, on iOS, user_quit (it undercounts). MetricKit’s termination counters map to the list by one table (7.3). SDK steps (B.5) gain terminate with user_quit, memory and recorded, and update; Android’s normal terminate is REASON_EXIT_SELF only. Vectors crashes/sdk-memory-exit, crashes/sdk-user-quit-not-a-failure, crashes/sdk-app-update-not-a-failure, crashes/sdk-os-update-not-a-failure and sessions/exited-replaces-active-at-same-time.

2026-10-14, APS-201 (D113), resources. Memory, CPU, storage, battery and thermal state on every platform (7.5 to 7.9); Android vitals are no longer out of scope. apsio.memory.footprint is iOS’s phys_footprint or Android’s proportional set size (the resident set size, marked apsio.memory.footprint.kind = rss, where reading the PSS is too slow), read every 5 seconds in the foreground and at each screen view, and carried by app.screen.view (8.6). The session summary (3.4) gains apsio.memory.peak, apsio.memory.p90, apsio.memory.warning_count, apsio.device.thermal_state.worst, apsio.device.low_power.seen, and with the new battery start option (13.1) apsio.battery.drain and apsio.battery.drain_duration. A memory warning is the platform’s low-memory signal; on Android from API 34, which no longer delivers onTrimMemory’s running levels, it is read from ActivityManager.MemoryInfo.lowMemory. New records: apsio.resource.snapshot every 30 seconds in the foreground and apsio.app.storage at most once a day, in a new family resources that is in never mode when the policy does not name it (15.1, 15.3); and apsio.device.memory_warning, apsio.device.thermal_state and apsio.device.low_power in logs. CPU is apsio.cpu.utilization, with the definition of OpenTelemetry’s process.cpu.utilization metric summed over cpu.mode. The Resource gains apsio.device.memory.total (2.2). Vectors crashes/sdk-memory-pressure-not-a-failure, crashes/sdk-crash-without-report, crashes/sdk-signal-exit and sessions/sdk-memory-summary. On iOS a memory warning notification and a pressure-source event less than 1 second apart are one warning, and battery drain is coarse (5-point steps).

2026-10-14, D114: what leaves the device changes without an app release. One change for the beta, in these parts:

  • Rules (item 1): instrumentation.rules, at most 50, are triggers the policy defines: a predicate over the records as they are written, a record kind and up to 8 conditions that must all hold (eq, in, prefix, gte, lte, status_class, glob without regular expressions, exists), taken from the policy the SDK holds as each record is written, fired at most once per session and listed by families as rule:<id> (15.8). Function instrumentation.rule_match; vectors instrumentation/rule-match, instrumentation/sdk-rule-releases-window and instrumentation/sdk-rule-added-mid-session.
  • Rollups (item 2): the session summary carries numbers counted on the device from every record, held or not: the screen path, requests by method, host, template and status class, and screen loads by screen, each with a count and p50 and p90 from fixed duration buckets, and the app starts (3.5); a rollup is at most 16 KiB, cut by whole objects (1.6), and kept in the store so a crashed session’s final summary has them. Function session.rollup; vectors sessions/rollup, sessions/sdk-rollup-counts-held and sessions/sdk-rollup-after-crash.
  • Targeted capture (item 3): the policy is fetched at launch, on each return to the foreground and every 5 minutes by default (12.1), and a session keeps the family modes and rates it started with (15.3). layers change part of the policy for the devices they target (app version, OS, device model, install or app user) (12.4). A capture request releases an install’s or an app user’s next sessions whole, starting with the one in progress, whatever a family’s mode or trigger windows say (15.5). Vectors policy/sdk-capture-next-session and policy/sdk-policy-on-foreground.
  • The store under the policy (item 4): a family can set its own retention and cap, and a trigger in a family’s triggers can set its own window and release only that window instead of the rest of the session (after); the session summary names the triggers that fired, apsio.session.triggers (15.4, 15.6, 3.4). Vectors instrumentation/sdk-trigger-after-window and instrumentation/sdk-family-retention.
  • Staged rollout (item 5): a layer can roll out to a share of the installs it targets, with a holdback group; the session summary names the layers applied and held back, and guardrails run on the backend, which rolls back by publishing a policy without the layer (12.4). Functions policy.layer_bucket and policy.layers; vectors policy/layer-bucket and policy/layers.
  • Mobile context (item 8):
    • connectivity with OpenTelemetry’s network.connection.* and network.carrier.* names: an apsio.device.connectivity record on each change (a change undone within 2 seconds is not one), the session’s offline time and connection types on the summary, the connection on network spans, and a rule on going offline (7.10); function connectivity.periods, vectors connectivity/periods and connectivity/rule-offline;
    • network spans carry their DNS, connect, TLS and time-to-first-byte phases and whether the connection was reused (8.4);
    • the Resource carries where the build came from, apsio.app.install.source, a debug build being development whoever installed it (2.3);
    • a cold start and its session carry how the launch began, apsio.app.launch.reason, and a background launch measures no cold start (8.1);
    • rage taps and dead taps are apsio.ui.rage_tap and apsio.ui.dead_tap records, without text or coordinates, and the triggers rage_tap and dead_tap (8.7); function ui.rage_taps, vector screens/rage-taps;
    • the device’s locale and region are on the Resource, and an apsio.device.context record carries them with orientation, appearance and font scale at each change (7.11).

2026-10-20, APS-427, from the Android SDK. Clarified:

  • a first launch’s session, with no policy fetched or cached, releases nothing until the first fetch ends or 10 seconds pass, then takes that policy (or the defaults) as the one in force at its start, and a first launch that ends sooner is decided by the next launch’s policy (15.3);
  • apsio.policy.layers and apsio.policy.holdback are the layers as they stood when the session started, the same in every summary of it; a layer that applies during the session is listed from the next one (12.4);
  • appendix B.2 lists policy.layer_bucket, policy.layers and connectivity.periods, which vectors already used.

2026-10-20, APS-453. A session a capture request releases lists the request’s id in its summary, apsio.session.capture_requests, from the first summary written after the SDK serves it, each id once in the order served, at most 20, kept to the session’s final summary (the next launch’s for a crash) even after the request expires, so a backend can count and list what a request captured (15.5, 3.4). Vectors policy/sdk-capture-next-session (extended), policy/sdk-capture-two-requests and policy/sdk-capture-after-crash.

2026-10-21, APS-434. A session writes at most 50 records of each of apsio.device.thermal_state, apsio.device.low_power, apsio.device.memory_warning and apsio.device.connectivity, the first 50 of each, and counts the rest in the summary’s apsio.session.device_state_dropped, their sum, when any were dropped. A connectivity change undone within 2 seconds is not recorded first, so it spends nothing. The summary’s apsio.device.thermal_state.worst, apsio.device.low_power.seen, apsio.memory.warning_count, apsio.session.offline_ms and apsio.session.connection_types still count every change (7.8, 7.6, 7.10, 3.4). Function device_state.capped (B.2), vector metrics/device-state-cap.

2026-10-21, APS-461. Log bridges (13.7): an opt-in start option logBridge forwards the app’s own platform logs as log records. On Apple platforms it reads the current process’s OSLogStore, from the app’s own subsystems and at most every 30 seconds. On Android it is a Timber tree. On React Native it wraps console. One severity table covers the three, with a level floor (warn by default) checked before any work, and the same redaction as log(). The limits are 50 records a second with a bucket of 100, counted on the entries’ own times, and 1,000 a session; drops are counted in apsio.session.log_bridge_dropped. A bridge never forwards the SDK’s own logs, and a native bridge skips React Native’s JS console channel. The Apple subsystem is carried in apsio.log.subsystem. Functions log_bridge.severity, log_bridge.admit and log_bridge.format (B.2), vectors logs/bridge-severity, logs/bridge-admit and logs/bridge-format.

2026-10-21, APS-498. The vector instrumentation/decisions covers the resources family: held (never) when the policy does not name it, as 15.3 says, and its mode when named, with the same hash as every family. Function instrumentation.decisions (B.2) returns it.

2026-10-21, APS-461. 13.7’s bucket refills from the latest entry time seen, dropped entries included, as log_bridge.admit computes it; the text said “the last one admitted”.

2026-10-21, APS-506. Redaction (11.1) defines the start option redact, which 13.1 only named. It takes a list of attribute keys, matched without case by the whole key, or, for a listed key without a dot, by the attribute key’s last segment. A match’s value becomes [REDACTED] and the key stays. It covers the attributes the app hands the SDK, in every family, plus exception.message when the list names it whole. It never touches the SDK’s own attributes, the Resource, free text or URLs. It runs before any of the SDK’s files, crash reports included, and before 1.6’s limits. The list stays on the device, and a cross-platform layer passes it to the native start. Function privacy.redact (B.2), vectors privacy/redact and privacy/sdk-redact.

2026-10-21, APS-497. iOS omits apsio.storage.free and apsio.storage.total (7.9): the volume’s free and total space come from required-reason APIs, and Apple’s disk-space reasons don’t allow sending them off the device. apsio.storage.app, .data and .cache are the sizes of the app’s files and still go. Android keeps all five.

2026-10-21, APS-461. A bridged entry stamped up to 1 second before the current session’s start, with no earlier session to take it, belongs to the current session (13.7): OSLog’s entry times and a framework’s Date.now() can trail the session’s clock by milliseconds. An older one is neither written nor dropped. log_bridge.admit takes an optional session_start (B.2); vector logs/bridge-admit gains case 6.

2026-10-21, APS-461. The Apple log bridge’s reads have a bound (13.7). Each read stops after 50 ms of the reading thread’s CPU time, and where the platform ignores OSLogStore.position(date:) (the iOS Simulator), it reads newest first until it reaches the last entry read. A read cut by the bound does not forward the older entries it did not reach, whose number is unknown: the summary then carries apsio.session.log_bridge_incomplete (3.4). apsio.session.log_bridge_dropped still counts only the entries over the limits.

2026-10-21, APS-517. An Android library loaded straight from an APK (native libraries not extracted, AGP’s default) is an image of its own (6.5): its path is <apk path>!<library> as tombstones show it, its name is the library’s, and it is in-app when the APK is the package’s and the part after the ! is a shared library. Vector crashes/image-in-app gains four cases.

2026-10-21, APS-461. The Apple log bridge’s cadence and bound follow its device run (13.7). A read costs about a second even with nothing new, so the bridge reads on the move to the background and every 5 minutes in the foreground, never more often than every 30 seconds, and its records arrive up to 5 minutes late. Where iOS ignores OSLogStore.position(date:), a read goes forward from the store’s start, past the last entry read. Each read stops after 2 seconds by the wall clock, replacing the 50 ms of CPU, and a cut read sets apsio.session.log_bridge_incomplete. After one, the bridge stops reading for the rest of the process, since every later read would be cut at the same depth. The 100 ms backoff is gone.

2026-10-21, APS-461. The Apple log bridge reads in the foreground only (13.7): OSLogStore cannot be read once the app is in the background. It reads every 5 minutes and when the app is about to leave the foreground (willResignActive), never more often than every 30 seconds. Entries written after the last read wait for the next foreground, and are not forwarded if the process ends in the background.

2026-10-21, APS-461. The Apple log bridge’s read bound has two parts (13.7): opening the store may take up to 3 seconds and the scan up to 2. A cut read no longer stops the bridge. The next read tries again, and only after 2 cut reads in a row does the bridge stop for the rest of the process. Under load, opening the store alone had pushed a short log’s first read past the 2 seconds. The entries a cut read did not reach wait for the next read; only a bridge that stopped leaves them unforwarded.

2026-10-27, APS-531. A live hang that begins before the process first becomes active is a launch hang and carries apsio.hang.phase = launch (6.3). On iOS the boundary is the first app-level didBecomeActive; a detector installed while the app is already active sees none, and an unfinished launch hang keeps its phase on disk. metrickit records and device.anr carry no phase. A backend leaves launch hangs out of hang rates and screen joins, and keeps them for launch diagnostics with their stacks: app.start already measures a slow launch. Function hang.phase (B.2), vector crashes/hang-phase.

2026-10-27, APS-531. A hang detector that watches during the launch, before iOS tells whether the process was launched in the background, does not send the hangs of a launch that turns out to be in the background, and removes their unfinished hang from disk (6.3). An unfinished hang from a process killed before that is sent as a launch hang, since the SDK cannot tell a user’s launch from a background one there.

2026-10-28, APS-278 (D120). A new optional section, live inspection (section 16): an app’s team watches one of its own testers’ devices while the app is open, and can send it three commands. An SDK or backend may implement it; one that does follows all of it.

  • Two keys: the policy’s live.testers, matched by hash as requests are, and the app’s setLiveInspection(allowed), off by default, kept across launches, with no remote switch. Consent and the kill switch close the channel.
  • The indicator: a native indicator while anyone watches, naming the team and never a person, and a notice for each command, all left out of what the SDK records.
  • Limits: foreground only; paused while interrupted or saving power or data, and ended after 60 seconds paused; ended in the background, on the backend’s stop, at the session’s end (30 minutes unless renewed, kept on the device’s own clock), and at 10,000,000 bytes a live session or 50,000,000 a UTC day. A session never restarts by itself: after its end or its byte cap the backend answers hellos with no viewers until a viewer acts, and after the day cap the device starts none until the day ends.
  • The wire: hello, next, frames and results on the policy’s live.origin, with the app key; no user hash goes up, and nothing is buffered or retried but results. A command runs at most once, and a repeated one gets its first result again.
  • What it sends: every record the SDK writes for a family that is not off (off in code, not collected by the policy, or in never mode), after redaction and masking, whatever sampling and triggers say, and never past consent, an opt-out or the kill switch.
  • Commands: screenshot, diagnostics (an apsio.diagnostics record, with apsio.live.command.id, apsio.queue.records and apsio.queue.bytes) and raise_log_level (30 minutes, in memory). Records they release carry apsio.sampling.released = live (9.3, 15.5).
  • The backend: never stores the live stream; views only for signed-in people; commands only from people allowed to change the project’s settings.
  • live in the policy (12.2) and its schema; a setLiveInspection row in section 13; functions live.open and live.stop (B.2), vectors live/open and live/stop.
  • 8.4: an SDK records no spans for its own requests, to ingest, to the policy’s host or to live.origin.

2026-10-28, APS-543 (D120). Live inspection’s device token (16.4), with Gimbal’s and Sprocket’s reviews:

  • Every 2xx hello answer carries device_token (64 lowercase hex characters).
  • next, frames and results send it in the Apsio-Live-Token header, and the device’s own hellos send it too, which keeps it and renews the presence; during a live session such a hello starts and ends nothing.
  • A hello without it, or with another, replaces it and ends the session that held it. The backend tells that session’s viewers with the reason replaced, counting from the session’s first frames (16.7).
  • The presence, and the token, last at least 2 × interval_s + 25 s after the hello that made the token, or the last request that carried it.
  • On those three routes a 401 is the token: the device ends its live session, drops the token, and says hello again, at once unless it already had such a 401 within interval_s. On a hello a 401 keeps ingest’s meaning.
  • The SDK follows no redirect on the live channel, keeps the token in memory only (never in logs or a cache) while the channel is open, and sends it only to live.origin.
  • It binds requests to the session the last hello opened and is not a device credential.
  • Header Apsio-Live-Token in A.1.

2026-10-28, live inspection’s origin. live.origin is https://, a lowercase host and an optional :port, with no userinfo, path, query or fragment (16.4, the policy schema). The schema’s earlier pattern let https://live.example.com@other.example through, which names other.example. An SDK ignores a live object whose origin has any other form, as if the policy had none. From Vault’s review of apsio #442 (Gimbal).

2026-10-28, APS-541. An app should set a user.hash of at least 16 characters that cannot be guessed from the user, such as the hex SHA-256 of its user id and a secret it keeps (section 11, and the setUser row of section 13). Remote requests and live testers matched by a user hash reach that user’s devices, so a backend may match them by a hash of 16 characters or more only; a shorter hash still works for everything else, and those requests then reach the user by install id alone. An SDK sends the hash as set.

2026-10-28, APS-545 (D120), live testers prove their claim. Until now the policy’s live.testers[].match was the SHA-256 of the entry’s id, a colon and the install id or user hash, and a hello only named its tester: anyone with the app key could name any listed tester and stream to its viewers, since the edge could not tell a forgery from a user tester (16.1). Now:

  • An entry’s proof is that same SHA-256, and the policy publishes match = the SHA-256 of the 64-character proof. The field’s name and shape are unchanged; its meaning is new.
  • A device matches an entry when the SHA-256 of its proof equals match, and its hello sends proof with tester (16.4). It never sends the install id it came from or the user hash, and keeps the proof as it keeps the device token: in memory, never logged, only to live.origin.
  • The backend counts a hello’s tester only when the policy lists the id, unexpired, and the SHA-256 of the proof is its match, the same rule for an install and a user (16.7). A hello whose tester does not count gets viewers 0 and no device_token, and neither makes, renews nor replaces the install’s token or presence. The backend keeps no proof beyond the check.
  • Tester ids are unique in the list and never another id in the policy (a request’s or a layer’s), since a request’s match with the same id and subject would publish the tester’s proof. A device recomputes its proofs when the policy changes or the app sets, changes or clears the user hash, and a device that held a token and gets a hello answer without one drops it and ends its live session.
  • A hello with no proof, or a malformed one, has a tester that does not count (not a 400). On results, a 409 is a result for no command sent to that device (or one past its 2 minutes): delivered nowhere, and the device treats it as a 2xx and does not resend it.
  • live.open also outputs proof; a new function live.tester (B.2) and the vector live/tester pin the backend’s check; live/open’s matches are the new values. requests[] is unchanged.

From Vault’s review of apsio #449 (S1); scheme agreed by Gimbal, Vault and the lead; Sprocket’s SDK review.

2026-10-28, live inspection’s loopback origin and the end on closed. For local testing, an SDK may accept a live.origin of http:// with the loopback host 127.0.0.1, [::1] or localhost and an optional port, in any build, and must ignore any other origin that is not https:// (16.4). The policy schema’s pattern allows exactly those three hosts. A backend serving production devices publishes only an https:// origin and refuses any other in its configuration (16.7). A port is 1 to 65535, with no leading zero, in the text and the pattern alike. A live session that ends because the channel closed sends no ended body, as 16.1 already required: the backend learns of it from 60 seconds of silence or the next hello (16.3). From Sprocket and Fresco (the SDKs’ local live smoke against wrangler dev); the lead’s production rule.

2026-10-28, APS-555, the live channel’s vectors. The wire of 16.4 has sdk vectors: live/sdk-device-token (the token in memory only, sent only to live.origin on next, frames, results and the hellos), live/sdk-hello-without-token (the session ends at once, without an ended body, and next is cancelled), live/sdk-401-rehello (a 401 ends it the same way, drops the token and says hello at once, or at the next interval_s after a second 401), live/sdk-no-redirect (a 3xx is a failure and nothing goes to the Location host) and live/sdk-results-409 (the result is not sent again). A new function live.origin and its vector pin which origins are used, may be used for local testing (loopback) or are ignored. For them, appendix B gains the live_answer step and the harness’s live server, with its secret and storage checks: a live vector fails when a served device token or a sent proof appears in any request to another origin, when the app key appears outside Apsio-App-Key, or when the app’s storage holds a token or a proof after a terminate (B.5); setLiveInspection joins the calls; and matching gains a request’s origin, query, body and t, never_requested, and { "$min", "$max" } (B.4). From the lead’s pre-beta sweep; shaped with Fresco’s and Sprocket’s drivers, reviewed by Vault.

2026-10-28, APS-567, a canceled capture ends. A capture request the backend canceled kept capturing new sessions until its count or its expiry. Now, on a policy fetched with 200 that validates, the SDK drops every capture it is serving that requests no longer lists, canceled, replaced or expired, and applies it to no new session; a 304, a failed fetch or a policy that does not validate changes nothing. A cancel takes effect from the next session: the session in progress stays captured as a whole, and the sessions it applied to keep their records released and its id in their summaries; a dropped request never grants again on that install, even if a later policy lists it again (a new request always has a new id) (15.5). The vectors policy/sdk-capture-canceled and policy/sdk-capture-kept-on-failed-fetch pin it.

2026-10-28, appendix B.4, captures across sent. Captures are made in the order the expect writes them, requests then sent, and never_sent and never_requested can use any of them (B.4). The text said both used only the expected requests’ captures, while policy/sdk-capture-canceled reads one sent made; the runners already threaded them. A reference to a name no capture made fails the vector, never a match or a non-match. Text only: no vector changes. From Fresco’s and Sprocket’s runners.

2026-10-28, APS-556, 0.1.0 is final. The open questions of the introduction are resolved or stated as known limitations (0. Introduction): the session summary stays an Apsio record, the conformance steps of B.5 are fixed for 0.1.0 (a later version may add steps), and the iOS 27 MetricKit bucket ladders are still assumed equal to the MX* ladders until a recording confirms them. The entries above lose their “draft for review” marks. Text only: no vector changes.

2026-10-28, APS-465, a late platform exit record. On iOS, MetricKit delivers the diagnostic of an ended process (for example a MemoryExceptionDiagnostic) on a later launch, possibly after that launch has already sent an inferred app.abnormal_exit and the session’s final summary. The SDK then sends the platform record too, joined to the session by the diagnostic’s process id (environment.pid; none, or no match, sends it without a session), and, for the previous process’s session, unless it has an app.crash, sends the final summary again with the platform’s exit attributes; it never holds back the inferred record to wait. A backend joins the records on session.id and app.installation.id within the app (summaries by session.id within the app), keeps the platform record, leaves the inferred one out of its counts, and takes the session’s exit from the platform summary: a platform abnormal_exit summary replaces an inferred exited or abnormal_exit one whatever their times, and a crashed summary is never replaced (6.4, 3.4). A session that has an app.crash gets no app.abnormal_exit at all, a late platform one included, and a backend leaves one it gets anyway out of its counts and issues. A new known limitation (0. Introduction): a MetricKit crash diagnostic with no crash report from the SDK is not mapped. Text only: no vector changes.

2026-10-28, APS-465, the MetricKit vectors. Two function vectors begin the iOS MetricKit payloads: metrics/metrickit-diagnostic (metrickit.diagnostic: a memoryException is a platform out-of-memory app.abnormal_exit that keeps its call stack tree and its process id; a kind the profile does not know sends nothing) and metrics/metrickit-full-day (metrickit.metrics: only the full-day entry’s totals become points). Their cases are synthetic, built from Apple’s documented shape. A function vector may now list pending cases (B.2), and these two list the device recordings still to make (APS-118), which replace or add to the synthetic cases.

2026-11-05, APS-585, os_update on iOS. On iOS a change of the operating system’s version or build implies the restart, so an SDK may infer os_update from that change alone, without reading the system boot time (6.4). Apple’s allowed reasons for the boot time do not cover sending a value derived from it. The conformance step update with os already includes the restart. Text only: no vector changes.