@zengid You can use the following code snippet to extract app name
for await d in data {
for await a in d.activitySegments {
for await c in a.categories {
for await app in c.applications {
let app = AppDeviceActivity(id: bundle,
token: app.application.token!,
displayName: app.application.localizedDisplayName ?? "nil")
}
}
}
}