Hi team. We send events to Amplitude through "rudd...
# support
f
Hi team. We send events to Amplitude through "rudder-sdk-react-native": "^1.11.1" and see that the Device Type is not set for the Apple devices.
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Let me check on this and get back to you.
Hi Fabian can you check in the live events if the `context > device > type`⁣ or the `context > userAgent`⁣ field for a given event contains the device type data (You may have to check both Android and iOS).
f
Hi @shy-kite-21035 , thanks for your comment, here are the payload for Android and IOS: Android:
Copy code
{
    "anonymousId": "--",
    "channel": "mobile",
    "context": {
        "app": {
            "build": "7",
            "name": "--",
            "namespace": "--",
            "version": "1.0.8"
        },
        "device": {
            "id": "--",
            "manufacturer": "samsung",
            "model": "SM-A536E",
            "name": "a53x",
            "type": "Android"
        },
        "library": {
            "name": "com.rudderstack.android.sdk.core",
            "version": "1.21.2"
        },
        "locale": "es-US",
        "network": {
            "carrier": "--",
            "cellular": true,
            "wifi": true
        },
        "os": {
            "name": "Android",
            "version": "13"
        },
        "screen": {
            "density": 450,
            "height": 2177,
            "width": 1080
        },
        "sessionId": --,
        "timezone": "America/Montevideo",
        "traits": {
            "anonymousId": "--",
            "id": "--",
            "userId": "--"
        },
        "userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; SM-A536E Build/TP1A.220624.014)"
    },
    "event": "pageview",
    "integrations": {
        "All": true
    },
    "messageId": "--",
    "originalTimestamp": "2024-02-01T12:49:38.012Z",
    "properties": {
        "appLanguage": "es",
        "host": "--",
        "loggedIn": 1,
        "path": "",
        "platform": "APP-MOB",
        "title": "--"
    },
    "rudderId": "--",
    "sentAt": "2024-02-01T12:49:47.040Z",
    "type": "track",
    "userId": "--"
}
IOS:
Copy code
{
    "anonymousId": "--",
    "channel": "mobile",
    "context": {
        "app": {
            "build": "2",
            "name": "--",
            "namespace": "--",
            "version": "1.0.8"
        },
        "device": {
            "attTrackingStatus": 0,
            "id": "--",
            "manufacturer": "Apple",
            "model": "iPhone",
            "name": "iPhone 15",
            "type": "iOS"
        },
        "library": {
            "name": "rudder-ios-library",
            "version": "1.23.1"
        },
        "locale": "en-AR",
        "network": {
            "cellular": false,
            "wifi": true
        },
        "os": {
            "name": "iOS",
            "version": "17.2"
        },
        "screen": {
            "density": 3,
            "height": 852,
            "width": 393
        },
        "sessionId": --,
        "timezone": "America/Montevideo",
        "traits": {
            "anonymousId": "--",
            "userId": "--"
        }
    },
    "event": "login",
    "integrations": {
        "All": true
    },
    "messageId": "--",
    "originalTimestamp": "2024-02-01T13:12:58.936Z",
    "properties": {
        "appLanguage": "es",
        "host": "--",
        "path": "/account/signin",
        "platform": "APP-MOB",
        "sso": "c96ac18d-06e0-4369-aba0-832e73429b48",
        "title": "--"
    },
    "rudderId": "--",
    "sentAt": "2024-02-01T13:13:01.481Z",
    "type": "track",
    "userId": "--"
}
I see that the `userAgent`⁣ is not set for IOS
Do you know how we can solve that?
m
I will ask the team, but is the parameter you are looking for available within the device object (else it could be an iOS thing).
🙌 1