amplitude / amplitude/Amplitude-TypeScript

[Migrating from expo-analytics-amplitude to @amplitude/analytics-react-native] Amplitude is no Longer Tracking Phone Properties Like Platform, Model, and OS

未关闭
#293 11 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
TypeScript
星标
180
派生
68
平均合并
3 天 1 小时
30 天内合并 PR
29

描述

## Expected Behavior
Amplitude should be tracking Device Type, OS, and Platform. Like in the example below.
![image](https://user-images.githubusercontent.com/43552938/206595577-8938aaf2-7ee7-4d1e-bc22-b7bf8e5a039d.png)

## Current Behavior
After migrating to this new library, I'm seeing events defaulting the Platform to "Web", which was automatically tracked before (expo-analytics-amplitude who was a wrapper of Amplitude-Android and Amplitude-iOS).
![Screenshot_4](https://user-images.githubusercontent.com/43552938/206596269-21627f7c-6787-45b6-81ef-59216f0f5e55.png)

## Steps to Reproduce
1. Build app using expo SDK 46
2. Check Amplitude Events
3. Platform is always set to Web

## Environment
- JS SDK Version: @amplitude/analytics-react-native v0.7.0
- Installation Method: NPM
- Browser and Version: React Native Expo SDK 46

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。