Skip to end of metadata
Go to start of metadata


Last Updated: Tuesday, April 3, 2018



Overview

A Push Device is a device that has the Vibes Push SDK and has registered itself with the Vibes Platform. It is uniquely identified by a vibes_device_id.  

To effectively target by Person and Person custom fields, the Platform needs to have associated a device with a Person. This association is done by a sever-to-server call sending the vibes_device_id  and external_person_id to associate the device to the Person. Vibes requires a server-to-server call to associate accounts to devices to prevent account hijacking. 

Topics in this Section


Push Device Entity

The following shows the JSON representation of a push device entity.


{

  "device": {
    "vibes_device_id": "k3j2-23nf9-2ndk465-3jks",

    "os": "iOS",
    "os_version": "8.1.3",
    "sdk_version": "1.2",
    "app_version": "2.0.0",
    "push_token": "C9A3F19580B6B3DC41E73B558D9D5BAE81AAC551FA45A1AD22CA2403D6E96469",
    "hardware_make": "Apple",
    "hardware_model": "iPhone5,1",
    "advertising_id": "jke30-skdjrjhs2-ks432-kadf",
    "locale": "en_US",
    "location": {
      "latitude": 42.2537648,
      "longitude": -88.3336466
    },
    "timezone": "America/Chicago",
    "url": "/mobile_apps/ :app_id /devices/:vibes_device_id"
  }
}




Elements

Data Element

Type

Description

vibes_device_idStringVibes unique identifier for each device

OS

String

Operating system of the push device (Android or IOS)

os_version

String

Version of the operation system

sdk_version

String

Version of the Vibes Push SDK

app_version

String

Version of the mobile app

push_token

String

Android or IOS Push token

hardware_make

String

Make of the mobile device

hardware_model

StringModel of the mobile device

advertising_id

StringAdvertising ID (optional)

locale

StringLocale (Language/Time Zone) of the device

location.latitude

NumberLast known latitude of the mobile device (optional)

location.longitude

NumberLast known longitude of the mobile device (optional)

timezone

StringTimezone that is set on the mobile device

url

StringURL to access the push device information


  • No labels