comparar · Observability
Both work with Expo. In a kit you pick one, and your agent gets the rule to use only that one.
| PostHog | Sentry | |
|---|---|---|
| What it is | Product analytics and feature flags in the app. | Native and JavaScript crashes, with performance traces. |
| Frameworks | Expo | Expo |
| Paquetes | posthog-react-native expo-file-system expo-application expo-device expo-localization | @sentry/react-native |
| Skill oficial | posthog/ai-plugin@instrument-product-analytics | getsentry/sentry-for-ai@sentry-react-native-sdk |
| How your agent uses it | Track product events with `capture("event", { ...props })`. Name events in snake_case with a past-tense verb (`signup_completed`, `kit_installed`) and identify the user with `identify(id)` after login. Never send sensitive personal data as properties. Use the `usePostHog()` hook inside components. | Unhandled errors are reported automatically. For errors you catch, use `Sentry.captureException(error)` and add context with `Sentry.setUser` / `Sentry.setTag`. Never leave `console.error` as the only signal of a production failure. |
| Kits that offer it | mobile-expo, mobile-expo-supabase | mobile-expo, mobile-expo-supabase |
| Chosen in | 0 installs | 0 installs |