Skip to content

Commit

Permalink
fix: set the right sdk name and version for recordings
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto committed Sep 30, 2024
1 parent d0afb3a commit 12d0aaf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions posthog-react-native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Next

# 3.3.1 - 2024-09-30

## Changed

1. set the right sdk name and version for recordings

# 3.3.0 - 2024-09-24

## Changed
Expand Down
2 changes: 1 addition & 1 deletion posthog-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "posthog-react-native",
"version": "3.3.0",
"version": "3.3.1",
"main": "lib/posthog-react-native/index.js",
"files": [
"lib/"
Expand Down
1 change: 1 addition & 0 deletions posthog-react-native/src/posthog-rn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ export class PostHog extends PostHogCore {
debug: this.isDebug,
distinctId: this.getDistinctId(),
anonymousId: this.getAnonymousId(),
sdkVersion: this.getLibraryVersion(),
}

console.log('PostHog Debug', `Session replay sdk options: ${JSON.stringify(sdkOptions)}`)
Expand Down

0 comments on commit 12d0aaf

Please sign in to comment.