amplitude / amplitude/Amplitude-TypeScript
Incorrect version logged in Amplitude React Native Android
- 主要语言
- TypeScript
- 星标
- 180
- 派生
- 68
- 平均合并
- 3 天 1 小时
- 30 天内合并 PR
- 29
描述
## Expected Behavior
Version of app should be logged correctly
## Current Behavior
Its logging incorrect app version
## Possible Solution
## Steps to Reproduce
**Please note in the below Raw object ``AppVersion`` we send using deviceInfo lib and ``version_name`` collected by amplitude is different**
```
{
"_time": 1767165660189,
"$insert_id": "REDACTED-UUID-8690-0BDCC4F125B7",
"$schema": 13,
"amplitude_attribution_ids": null,
"amplitude_id": "REDACTED_AMP_ID",
"app": 626942,
"city": "Gurugram (Regional)",
"client_event_time": "2025-12-31 07:21:00.189000",
"client_upload_time": "2025-12-31 07:21:01.598000",
"country": "India",
"data": {
"group_first_event": {},
"group_ids": {},
"path": "/2/httpapi"
},
"device_carrier": null,
"device_family": null,
"device_id": "REDACTED_DEV_ID",
"device_type": null,
"display_name": "location_search",
"dma": null,
"event_id": 20,
"event_properties": {
"AppVersion": "2.4.54",
"characters_typed": 5,
"DeviceModel": "sdk_gphone16k_arm64",
"Platform": "android"
},
"event_time": "2025-12-31 07:21:00.189000",
"event_type": "location_search",
"group_properties": {},
"groups": {},
"ip_address": "XXX.XXX.XXX.XXX",
"language": "English",
"library": "amplitude-react-native-ts/1.5.32",
"location_lat": null,
"location_lng": null,
"os": "",
"os_name": null,
"os_version": null,
"partner_id": null,
"paying": null,
"plan": {},
"platform": "Web",
"processed_time": "2025-12-31 07:21:02.936000",
"region": "Haryana",
"sample_rate": null,
"server_received_time": "2025-12-31 07:21:01.598000",
"server_upload_time": "2025-12-31 07:21:01.600000",
"session_id": "REDACTED_SESSION_ID",
"source_id": null,
"start_version": "2.3.08",
"timeline_hidden": false,
"user_id": "USER_REDACTED_XXX",
"user_properties": {
"[Experiment] confirm-pickup-screen": "confirmpickup",
"[Experiment] google_api_optimize": "true",
"[Experiment] location-debounce": "new-location-exp",
"[Experiment] new-home-screen": "true",
"[Experiment] one-step-booking": "true",
"[Experiment] one-tap-booking": "true",
"[Experiment] pre-mapped-locations": "true",
"[Experiment] show-vehicle-eta": "show_vehicle_eta_true",
"[Experiment] taxi-whitelist": "on"
},
"uuid": "REDACTED-UUID-BD87-73D9EAA78CD6",
"version_name": "2.4.61"
}
```
## Environment
- Installation Method: yarn
- Browser and Version: react-native": "0.77.3
```
"react": "18.3.1",
"react-native": "0.77.3",
"@amplitude/analytics-core": "2.33.0",
"@amplitude/analytics-react-native": "1.5.16",
"@amplitude/experiment-react-native-client": "1.8.0",
```
贡献指南
评估
这个 Issue 还没有评估数据。