Bug 1778761 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The appId in these platforms is currently inferred from the application context.

I was wondering if it would be possible to make it a possibility for users to actually pass that as an argument to Glean.initialiaze and overwrite the default value.

The use case here is the Mozilla VPN app, which is using the Glean Android SDK in Android and Glean.js everywhere else (and is planning to soon use the iOS SDK in iOS). Because of this caveat from the Android SDK, this means the data for Android specifically is landing in a separate table. Would be nice if it just went to the same tables.

See also, [:sarahbird]s comment on Slack: https://mozilla.slack.com/archives/C018SNLQP6C/p1657208456217729
The appId in these platforms is currently inferred from the application context.

I was wondering if it would be possible to make it an option for users to actually pass that as an argument to Glean.initialiaze and overwrite the default value.

The use case here is the Mozilla VPN app, which is using the Glean Android SDK in Android and Glean.js everywhere else (and is planning to soon use the iOS SDK in iOS). Because of this caveat from the Android SDK, this means the data for Android specifically is landing in a separate table. Would be nice if it just went to the same tables.

See also, [:sarahbird]s comment on Slack: https://mozilla.slack.com/archives/C018SNLQP6C/p1657208456217729

Back to Bug 1778761 Comment 0