diff --git a/posthog-react-native/CHANGELOG.md b/posthog-react-native/CHANGELOG.md index 3fc992c6..41f068e8 100644 --- a/posthog-react-native/CHANGELOG.md +++ b/posthog-react-native/CHANGELOG.md @@ -2,7 +2,7 @@ # 3.6.0 - 2024-12-04 -1. Add new debugging property `$feature_flag_bootstrapped_response` and `$feature_flag_bootstrapped_payload` to `$feature_flag_called` event +1. Add new debugging property `$feature_flag_bootstrapped_response`, `$feature_flag_bootstrapped_payload` and `$used_bootstrap_value` to `$feature_flag_called` event # 3.5.0 - 2024-12-03 @@ -11,7 +11,7 @@ # 3.4.0 - 2024-11-26 1. feat: automatically mask out user photos and sandboxed views like photo picker (iOS Only) - 1. To disable masking set `maskAllSandboxedViews` and `maskPhotoLibraryImages` to false +1. To disable masking set `maskAllSandboxedViews` and `maskPhotoLibraryImages` to false ```js export const posthog = new PostHog( @@ -87,16 +87,13 @@ export const posthog = new PostHog( ## Changed 1. chore: session id will be rotate on app restart. - 1. To keep the session id across restarts, set the `enablePersistSessionIdAcrossRestart` option to `true` when initializing the PostHog client. + 1. To keep the session id across restarts, set the `enablePersistSessionIdAcrossRestart` option to `true` when initializing the PostHog client. ```js -export const posthog = new PostHog( - 'apiKey...', - { - // ... - enablePersistSessionIdAcrossRestart: true, - }, -); +export const posthog = new PostHog('apiKey...', { + // ... + enablePersistSessionIdAcrossRestart: true, +}) ``` # 3.2.1 - 2024-09-24 @@ -110,7 +107,7 @@ export const posthog = new PostHog( ## Changed 1. chore: default `captureMode` changed to `json`. - 1. To keep using the `form` mode, just set the `captureMode` option to `form` when initializing the PostHog client. + 1. To keep using the `form` mode, just set the `captureMode` option to `form` when initializing the PostHog client. 2. chore: Session Replay for React-Native - Experimental support Install Session Replay for React-Native: @@ -124,13 +121,10 @@ npm i -s posthog-react-native-session-replay Enable Session Replay for React-Native: ```js -export const posthog = new PostHog( - 'apiKey...', - { - // ... - enableSessionReplay: true, - }, -); +export const posthog = new PostHog('apiKey...', { + // ... + enableSessionReplay: true, +}) ``` Or using the `PostHogProvider` @@ -356,4 +350,4 @@ Support for bootstrapping feature flags and distinctIDs. This allows you to init # 2.1.0 - 2022-09-02 -PostHogProvider `autocapture` can be configured with `captureLifecycleEvents: false` and `captureScreens: false` if you want do disable these autocapture elements. Both of these default to `true` \ No newline at end of file +PostHogProvider `autocapture` can be configured with `captureLifecycleEvents: false` and `captureScreens: false` if you want do disable these autocapture elements. Both of these default to `true`