Flutter
Durable local queue, Dart errors, iOS native crash recovery, Android uncaught exceptions and Android 11+ process-exit evidence.
Download Flutter SDK ↓ALETHIC FOR DEVELOPERS
Every business follows the same integration path. Create a workspace, choose an available bundle and connect each application as a separate project.
01 / APPLICATION RELIABILITY
Download the source package for your stack. Each archive contains installation guidance and examples. These packages are distributed directly by ALETHIC; a registry installation is not required.
Durable local queue, Dart errors, iOS native crash recovery, Android uncaught exceptions and Android 11+ process-exit evidence.
Download Flutter SDK ↓Scoped event collection, browser error handlers, structured logs and performance spans.
Download Browser & Node.js SDK ↓Server diagnostics with bounded queues, timeouts and privacy filtering.
Download Go SDK ↓Handled application diagnostics and performance spans for native Apple apps.
Download Swift SDK ↓Handled application diagnostics and performance spans for native Android apps.
Download Kotlin SDK ↓Extract the Flutter SDK next to your app and add a path dependency:
dependencies:
alethic_telemetry:
path: ../alethic-flutter-sdkInitialize after Flutter bindings and install the error handlers once. If your app already has global error handlers, call captureException from those handlers instead.
WidgetsFlutterBinding.ensureInitialized();
await Alethic.initialize(
endpoint: Uri.parse(yourCollectorEndpoint),
ingestionKey: yourProjectIngestionKey,
release: 'my-app@1.0.0+1',
environment: 'production',
);
Alethic.installErrorHandlers();
runApp(const MyApp());Native reports recover on the next launch. The queue keeps at most 50 filtered events for six days, and removes delivered events only after their IDs are acknowledged. iOS requires version 13 or later. Android native-death evidence does not yet include symbolicated C/C++ tombstone stacks.
When crash decoding is enabled for your workspace, upload the original dSYM files from the exact archived app build. The Flutter download includes the uploader and its guide in tools/symbols. Use a short-lived portal access token with integration permission. Keep tokens out of command arguments and source control.
python3.13 -m venv .alethic-symbols
.alethic-symbols/bin/pip install -r tools/symbols/requirements.txt
# Set ALETHIC_ACCESS_TOKEN through your secure secret mechanism.
.alethic-symbols/bin/python tools/symbols/upload.py \
--api https://YOUR_ALETHIC_API \
--project pr_YOUR_PROJECT_ID \
--release 'my-app@1.0.0+1' \
build/Runner.app.dSYM build/App.framework.dSYMThe release must match your SDK configuration. Upload before shipping, or retry a retained crash after uploading. Private files expire after 90 days, with a 50 MiB limit per file and 500 MiB per workspace per day. Missing Apple system symbols remain unresolved. This uploader handles Apple native dSYM files. Use the build pipeline tools below for Flutter split-debug symbols, JavaScript source maps and Android R8 mappings. Some Swift names remain mangled.
import { AlethicTelemetry } from './alethic-javascript-sdk/index.mjs';
const client = new AlethicTelemetry({
endpoint: collectorEndpoint,
key: projectIngestionKey,
release: '1.0.0',
environment: 'production',
});
client.captureException(new Error('Integration check'));
await client.flush();
// Browser applications can also use:
// client.installBrowserHandlers();POST an authenticated JSON batch to the collector. Preserve event IDs on retries. Send at most 20 events and 200 KB per batch; use small batches for mobile networks.
POST /v1/telemetry
Authorization: Bearer YOUR_PROJECT_INGESTION_KEY
Content-Type: application/json
{"events":[{
"id":"YOUR_UNIQUE_EVENT_ID",
"type":"error",
"message":"Integration check",
"stack":"",
"release":"1.0.0",
"environment":"production",
"timestamp":"CURRENT_ISO_8601_TIMESTAMP",
"durationMs":0,
"traceId":null
}]}Event IDs must be 16 to 64 letters, digits, underscores or hyphens. Use error, log or span as the type. Read the accepted ID list before removing a queued report. A 429 response means an allowance or access limit was reached.
PRIVATE ARTIFACTS. READABLE STACKS.
Every SDK download includes the Python build client and its guide in tools/reliability. Create a project build key in the workspace and keep it in your CI secret store. Build keys expire automatically and cannot read customer events or billing.
| Application | Artifact | How it matches |
|---|---|---|
| JavaScript | Version 3 source map | Exact script registration, release and map debug ID |
| Android JVM | R8 mapping.txt | Release and original mapping checksum ID |
| Flutter | ELF split-debug symbols | Release, architecture and GNU build ID |
| Apple native | Original dSYM | Release, architecture and image UUID |
# Set ALETHIC_BUILD_KEY in your CI secret store.
python3 tools/reliability/alethic-ci.py \
--endpoint https://YOUR_ALETHIC_API \
--project pr_YOUR_PROJECT_ID --release 1.0.0 \
release --summary 'Deploy application 1.0.0'Upload the artifact from the exact build before shipping. The included guide covers ID generation, private upload, configuration and retrying a retained crash. Missing artifacts remain unresolved. Apple system symbols and Android native C/C++ tombstones are outside this decoder.
Import npm audit JSON, run the five-pattern credential scanner over tracked source, and import up to 100 declared OpenAPI operations. Each finding includes evidence, severity and a recommended action. Assign a team member, track remediation or record a risk decision. Connected cloud snapshots also identify selected TLS and certificate configuration issues.
Scanner coverage is reported. These checks do not replace a full security assessment, and an empty report does not establish that an application is secure.
KEEP YOUR INSTRUMENTATION
Send OTLP over HTTP with JSON encoding to the API origin shown in your workspace. Authenticate with the same project ingestion key. Configure batches of at most 20 records and 200 KB, and preserve IDs when retrying.
POST /v1/otlp/v1/traces
POST /v1/otlp/v1/logs
Content-Type: application/json
Authorization: Bearer YOUR_PROJECT_INGESTION_KEYUse an exporter or collector configured for http/json. Binary protobuf, gRPC and metrics are not accepted by these routes. Log bodies must be strings. Unsupported arbitrary attributes and structured bodies are not retained.
Supported attributes are service.version, deployment.environment.name (or deployment.environment), alethic.operation and anonymous session.id. The JavaScript fetch wrapper can propagate trace context to exact origins you approve; other SDKs accept explicit correlation fields.
FROM AN ERROR TO ITS IMPACT
Use stable operation names such as checkout and outcomes such as failure. Record the same validated trace ID across your app and API. ALETHIC connects errors, logs, spans, release annotations and monitoring changes in one timeline.
Impact counts describe collected events and anonymous sessions within retained history. They are not revenue loss, unique customers or a full traffic failure rate. Release comparisons show their sample and time coverage.
Enable replay in Data and alerts, then request consent in your own app before starting the optional browser recorder. It captures element geometry and clicks. Text, images, form values, URLs and request bodies are excluded. Use data-alethic-replay-block for an opaque exclusion area, and stop recording on consent withdrawal or logout.
Use the /v1/replay endpoint with the same ingestion key and anonymous SDK session ID. You can delete a recording from its workspace; further uploads under that session ID are rejected. Related diagnostics retain their own retention policy. Customer feedback can attach to a confirmed event.
GIVE THE TEAM A CLEAR NEXT STEP
Turn on grouped issue alerts in Data and alerts. Assign issues to active teammates, acknowledge an investigation, and resolve it when verified. Unanswered crash alerts escalate on your configured schedule. A resolved crash that returns opens a new alert generation. Monitoring adds availability transitions and recovery to the project timeline.
Enable owner email notifications and weekly reliability reports only for the workspace that should receive them. The notification centre retains the workspace history; signed webhooks connect your existing incident tools. Usage notices appear at 50%, 80% and 100%, with hard allowance limits and no automatic overage charges.
Add your business name, PNG/JPEG logo, accent colour and components. Preview the draft, then explicitly publish it. Post incidents and maintenance updates with affected components. Subscribers confirm by email before receiving updates and can unsubscribe from any update.
When AI is available, the owner can choose ALETHIC funding or connect an AI key, then approve sharing a bounded set of filtered diagnostics with Anthropic. Choose a monthly or lifetime workspace cap. All workspaces also share a US$50 monthly application ceiling. Investigations cite supplied events, explain uncertainty and suggest checks or a draft for human review. They cannot deploy code or change production. Repeated evidence can reuse a result; uncertain provider outcomes retain their reservation and are not automatically retried.
SEPARATE CUSTOMERS. CLEAR CONTROL.
Customer workspaces shows the businesses you belong to, with separate permissions, keys, subscriptions and usage. Owners manage members, data retention, delivery preferences and audit exports. Exports describe the loaded entries and never include credentials.
Company SSO supports configured SAML, OpenID Connect and Google providers. ALETHIC must connect the provider first. An invited member signs in through it and completes an identity test; the owner can then require that tested provider and company email domain. The owner keeps recovery access. API and build keys retain their scoped machine access.
Core diagnostics are stored in Mumbai, India. Connected providers process the data required for their service; AI investigations require a separate provider consent. Lower retention applies to new diagnostics. Expired records are excluded from reads while physical removal is asynchronous.
Billing shows renewal history, verified payment receipts and cancellation. Where subscription changes are enabled, a reviewed new offer takes effect at renewal only after payment is verified. Downloaded receipts are payment records, not tax invoices.
MOVE WITH EVIDENCE
02 / CLOUD, API & CERTIFICATE SECURITY
In Cloud security, connect your supported cloud zone with a restricted token. Read-only access needs Zone Read, Zone Settings Read, Zone WAF Read and SSL and Certificates Read. TLS changes need Zone Settings Edit; managed firewall deployment needs Zone WAF Edit.
Strict TLS requires a valid origin certificate. A managed ruleset can block legitimate traffic. Provider licensing and traffic charges follow your connected account. Disconnecting ALETHIC does not remove protection already configured at the provider.
03 / ENDPOINT SECURITY
Use an endpoint manager account scoped to the group you want to monitor. Its API must have a trusted HTTPS certificate and a public hostname on port 443. Connect the group, reserve device seats and check the reported agent inventory.
Use Enroll a device in your workspace to register it and retrieve its private key, then follow the operating-system instructions to import the key into the endpoint agent. Agent installation and policy configuration must be verified on the target device before treating it as protected.
Agent installation documentation ↗04 / UPTIME & INCIDENTS
Add an HTTPS monitor and publish its ownership challenge at the displayed well-known URL. ALETHIC checks from one region. Two consecutive failures open an incident; a successful check resolves it. Configure a signed webhook for incident and recovery delivery.
Test one failure and recovery in a controlled environment. A certificate warning identifies approaching expiry; it does not issue or renew the certificate.
Keep raw request bodies, identity documents, payment data, credentials and location trails out of diagnostic messages. SDK filtering reduces accidental exposure and does not replace application-level data minimization.
Verification API and billing documentation →