PostHog / posthog-js-lite

Reimplementation of posthog-js to be as light and modular as possible.
https://posthog.com/docs/libraries
MIT License
69 stars 36 forks source link

Set locale and timezone info if not using Expo #286

Open marandaneto opened 1 month ago

marandaneto commented 1 month ago

Description

https://github.com/zoontek/react-native-localize https://github.com/PostHog/posthog-js-lite/blob/2b56d75c1c3b0f3c67bbec7a4aeed25ab2c52399/posthog-react-native/src/native-deps.tsx#L38-L41

This is only set if using Expo but not other alternative is given.

Removed from https://github.com/react-native-device-info/react-native-device-info/blob/34a80b6e1516f04f251a50273c41b1f3fb39e1f7/CHANGELOG.md?plain=1#L941