PostHog / PostHog/posthog-flutter
Support encryption hook
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 97
- Forks
- 85
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 31
Description
Problem Statement
If events contain sensitive data, and the data is stored in the device, the device is sandboxed. Still, if you want everything to be encrypted, you can encrypt events before flushing them to the disk and decrypting them before sending them to the network.
Solution Brainstorm
https://posthog.com/docs/libraries/android#all-configuration-options
// Hook for encrypt and decrypt events // Devices are sandbox already // Defaults to no encryption encryption = object : PostHogEncryption { ... }
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Android configuration documentation, then inspect the SDK's event persistence and network-send entry points; no Flutter files or tests are named in the issue. Define an optional encryption/decryption hook for events, preserving unencrypted behavior by default, and verify that events are encrypted before disk flushing and decrypted before network sending.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile-dev, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100