Skip to content

Commit b1c0571

Browse files
authored
Merge pull request #112 from mindoktor/v3.0
Adding "DevinceInfo.AdvertisingID" in order to send data to AppsFlyer integration
2 parents f107890 + 3556c62 commit b1c0571

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

context.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,13 @@ type CampaignInfo struct {
5353
// This type provides the representation of the `context.device` object as
5454
// defined in https://segment.com/docs/spec/common/#context
5555
type DeviceInfo struct {
56-
Id string `json:"id,omitempty"`
57-
Manufacturer string `json:"manufacturer,omitempty"`
58-
Model string `json:"model,omitempty"`
59-
Name string `json:"name,omitempty"`
60-
Type string `json:"type,omitempty"`
61-
Version string `json:"version,omitempty"`
56+
Id string `json:"id,omitempty"`
57+
Manufacturer string `json:"manufacturer,omitempty"`
58+
Model string `json:"model,omitempty"`
59+
Name string `json:"name,omitempty"`
60+
Type string `json:"type,omitempty"`
61+
Version string `json:"version,omitempty"`
62+
AdvertisingID string `json:"advertisingId,omitempty"`
6263
}
6364

6465
// This type provides the representation of the `context.library` object as

0 commit comments

Comments
 (0)