amplitude / Amplitude-TypeScript

TypeScript Amplitude Analytics SDK

Home Page:https://amplitude.github.io/Amplitude-TypeScript/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can latest version present Device Type iPhone 15?

2sem opened this issue · comments

commented

Expected Behavior

Device Type: iPhone 15 Pro Max

Current Behavior

Device Type: -
스크린샷 2023-10-06 오후 12 23 49

Possible Solution

Steps to Reproduce

  1. iPhone 15 Pro Max
  2. run app
  3. see log #Device Type#

Environment

  • JS SDK Version: 2.16.2
  • Installation Method: yarn
  • Browser and Version: iOS

Hi @2sem thanks for choosing Amplitude. The library amplitude-react-native/2.16.2 refers to the maintenance React Native SDK. Please open an issue in this repo next time. It helps us keep track of issues from different SDKs.

Device type is generated and mapped on the backend using a device mapping dictionary. It turns out that the dictionary is not up to date and should not be a bug of the SDK. It should be fixed soon.

Hi @2sem, I just merged the PRs to update the device mapping. It should take several minutes/hours to deploy.

commented

Thanks for your answer and the fix.

However your site's Github link took me this repo.

스크린샷 2023-10-07 오전 10 21 27

Hi @2sem, there are two React Native SDKs. The one you are using is the maintenance one.
image