Closed Bug 1643714 Opened 5 years ago Closed 5 years ago

Android: Add an uninstallation ping for Glean

Categories

(Data Platform and Tools :: Glean: SDK, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mdroettboom, Unassigned)

Details

(Whiteboard: [telemetry:glean-rs:m?])

On Android, apps can listen for an event for when their package is uninstalled. We could listen for it and send an uninstallation ping. There may be technical challenges (can we do all the things we need to do while our app is being simultaneously uninstalled).

https://developer.android.com/reference/android/content/Intent.html#ACTION_PACKAGE_FULLY_REMOVED

As per the discussion in #glean-dev:

It's unlikely that an Android app would be able to listen on its own uninstallation and act on it.
It might be possible that other apps from the same org might be able to receive that intent, if it subscribes to it for the other app id.
Other operating systems/platforms won't have that capability at all.

All in all this is not a Glean concern and should not be embeded into Glean itself. Apps can build their own metrics if needed.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.