BIDMCDigitalPsychiatry / LAMP-platform

The LAMP Platform (issues and documentation).
https://docs.lamp.digital/
Other
12 stars 10 forks source link

Add 'null' field to device usage property #729

Closed carlan1 closed 1 year ago

carlan1 commented 1 year ago

The device_usage sensor provides details about app usage. Native Apple apps are listed by name, but non-Apple apps are given an anonymous identifier without a bundle identifier. We would prefer non-Apple apps to still have a bundleIdentifier property but be given the 'null' value when the bundleIdentifier cannot be listed:

'bundleIdentifier': 'com.apple.MobileSMS' (for apps where the identifier can be recorded)

'bundleIdentifier': 'null' (for apps where the identifier cannot be recorded)

ZCOEngineer commented 1 year ago

We shall check on this @carlan1

jijopulikkottil commented 1 year ago

@carlan1 , yes we can set as 'null' if bundleIdentifier is not populated. [bundleIdentifier only populated for Apple apps].

jijopulikkottil commented 1 year ago

Code has been pushed and the Version 2023.2.1 is available for AppStore connect users.

carlan1 commented 1 year ago

Changes working in staging