Closed Bug 1358062 Opened 9 years ago Closed 5 years ago

Add core ping to WebAppActivity and CustomTabActivity

Categories

(Firefox for Android Graveyard :: Metrics, enhancement, P5)

enhancement

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: cnevinchen, Unassigned)

Details

Attachments

(1 file)

Since now only BrowserApp has TelemetryCorePingDelegate on it, we should do the same for PWA and Custom Tab.
It looks like blocking both PWA and custom tab, right?
I'm busy right now so anyone can take itl Adding the core ping will make the DAU more accurate if the data come from telemetry_core_parguet. But we can come out with the number where somewhere else like android_clients. I may have time next two week but it'll be almost near the code free day (June 5)
Assignee: cnevinchen → nobody
Hi Max, Sebastian CustomTabActivity is not extending GeckoApp in the future. So it'll be meaningless to move CorePingDelegate to GeckoApp for it. I'm suggesting move all the BrowserAppDelegate to another class (e.g. FennecLifecycleDelegator) And hook the Application class using aplpication.registerActivityLifecycleCallbacks[1] method to hook all the Activity Lifecycle calls to it. We can exclude some activities we don't want (e.g. LauncherActivity or GeckoPreferences) using instanceof in lifecycle callbacks. How do you think? [1] https://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html
Flags: needinfo?(max)
Flags: needinfo?(max)
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195 Needinfo :susheel if you think this bug should be re-triaged.
Priority: -- → P5
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: