Skip to content

Commit

Permalink
fix: setting app version
Browse files Browse the repository at this point in the history
  • Loading branch information
janicduplessis committed Aug 10, 2024
1 parent 946c71c commit 3f36826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/analytics-react-native/src/plugins/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class Context implements BeforePlugin {
device_id: this.config.deviceId,
session_id: this.config.sessionId,
time,
...(this.config.appVersion && { app_version: appVersion }),
app_version: appVersion,
...(this.config.trackingOptions.platform && { platform: platform }),
...(this.config.trackingOptions.osName && { os_name: osName }),
...(this.config.trackingOptions.osVersion && { os_version: osVersion }),
Expand Down

0 comments on commit 3f36826

Please sign in to comment.