Skip to content

Commit 1f3f9fc

Browse files
authored
Merge pull request #115 from corgrath/v3.0
Adding `Context.App.Namespace` since it is required in order to send Server-to-Server events to AppsFlyer.
2 parents b1c0571 + 2c1feca commit 1f3f9fc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

context.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ type Context struct {
3535
// This type provides the representation of the `context.app` object as defined
3636
// in https://segment.com/docs/spec/common/#context
3737
type AppInfo struct {
38-
Name string `json:"name,omitempty"`
39-
Version string `json:"version,omitempty"`
40-
Build string `json:"build,omitempty"`
38+
Name string `json:"name,omitempty"`
39+
Version string `json:"version,omitempty"`
40+
Build string `json:"build,omitempty"`
41+
Namespace string `json:"namespace,omitempty"`
4142
}
4243

4344
// This type provides the representation of the `context.campaign` object as

0 commit comments

Comments
 (0)