File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,23 @@ private struct AppContext: Context {
247
247
var buildType : String ? {
248
248
return info ? [ " buildType " ] as? String
249
249
}
250
+
251
+ var bundleID : String ? {
252
+ return info ? [ " bundleID " ] as? String
253
+ }
254
+
255
+ var bundleName : String ? {
256
+ return info ? [ " bundleName " ] as? String
257
+ }
258
+
259
+ var bundleVersion : String ? {
260
+ return info ? [ " bundleVersion " ] as? String
261
+ }
262
+
263
+ var bundleShortVersion : String ? {
264
+ return info ? [ " bundleShortVersion " ] as? String
265
+ }
266
+
250
267
}
251
268
252
269
extension AppContext : EventSerializable {
@@ -259,6 +276,10 @@ extension AppContext: EventSerializable {
259
276
attributes. append ( ( " device_app_hash " , deviceAppHash) )
260
277
attributes. append ( ( " app_id " , appID) )
261
278
attributes. append ( ( " build_type " , buildType) )
279
+ attributes. append ( ( " app_identifier " , bundleID) )
280
+ attributes. append ( ( " app_name " , bundleName) )
281
+ attributes. append ( ( " app_build " , bundleVersion) )
282
+ attributes. append ( ( " app_version " , bundleShortVersion) )
262
283
263
284
return convertAttributes ( attributes)
264
285
}
You can’t perform that action at this time.
0 commit comments