Currently we are using [`bundleIdentifier`](https://developer.apple.com/documentation/foundation/nsbundle/1418023-bundleidentifier) in Glean in the Utils.swift file for [`AppInfo.name`](https://github.com/mozilla/glean/blob/65debf350c7457fd5d03f60750ac95eaf7e37fbb/glean-core/ios/Glean/Utils/Utils.swift#L223) After taking a look the method used to get the "base identifier" in the searchfox link you posted, this should be returning the same bundle identifier as the way we are retrieving it and this code is _manually_ chopping off the extension id part if it is present. So, it looks like we would have to allow the app to set the app-id in Glean, otherwise, I don't see a way to intelligently detect and remove an extension id like the `CredentialProvider` bit in the case we are looking at for this bug.
Bug 1625157 Comment 3 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Currently we are using [`bundleIdentifier`](https://developer.apple.com/documentation/foundation/nsbundle/1418023-bundleidentifier) in Glean in the Utils.swift file for [`AppInfo.name`](https://github.com/mozilla/glean/blob/65debf350c7457fd5d03f60750ac95eaf7e37fbb/glean-core/ios/Glean/Utils/Utils.swift#L223) After taking a look at the method used to get the "base identifier" in the searchfox link you posted, this should be returning the same bundle identifier as the way we are retrieving it and this code is _manually_ chopping off the extension id part if it is present. So, it looks like we would have to allow the app to set the app-id in Glean, otherwise, I don't see a way to intelligently detect and remove an extension id like the `CredentialProvider` bit in the case we are looking at for this bug.