PostHog / PostHog/posthog-flutter

Native C/C++ (NDK) crash capture on Android

Open
#490 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature/error-tracking
Dominant language
Dart
Stars
97
Forks
85
Avg merge
1d 8h
Merged PRs (30d)
31

Description

Extracted from PostHog/posthog#43012.

Problem

Android capture is Java/Kotlin only (self-documented in posthog_config.dart), with no NDK or native signal handling.

Scope

  • NDK native crash capture on Android for Flutter apps.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading posthog_config.dart to confirm the current Java/Kotlin-only Android capture behavior, then map the Flutter and Android integration points needed for NDK support. Done means native C/C++ crashes and signals are captured for Flutter apps on Android, with the resulting reports integrated into the SDK's existing capture flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c, cpp, dart, flutter
Domain
mobile, observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.