PostHog / PostHog/posthog-flutter

Source code context for Android frames

Open
#488 0 comments 4 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

No source-context lines are bundled for Android (Kotlin/Java) frames. iOS source context is already done.

Scope

  • Bundle pre_context, context_line, and post_context for Android frames.

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 tracing how the existing iOS source-context implementation bundles pre_context, context_line, and post_context, then locate the corresponding Android frame handling for Kotlin and Java. Done means Android frames include all three source-context fields consistently with iOS behavior; verify the change with the relevant SDK tests if present.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, java, kotlin
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.