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

Đang mở
#293 11 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
180
Fork
68
Merge trung bình
3 ngày 1 giờ
Pull request đã merge (30 ngày)
29

Mô tả

## 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.