Closed Bug 1508227 Opened 6 years ago Closed 6 years ago

Provide a better example for using Glean

Categories

(Toolkit :: Telemetry, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
Tracking Status
firefox65 --- affected

People

(Reporter: Dexter, Assigned: travis_)

References

Details

(Whiteboard: [telemetry:mobilesdk:m3])

Attachments

(1 file)

Our Glean sample app might not be the best example for showing off how to use our library, as pointed out by Sebastian in [1]. This bug is for cleaning up the sample app to show how the library is meant to be used. [1] - https://github.com/mozilla-mobile/android-components/pull/1410#discussion_r234537292
Blocks: 1491345
Priority: -- → P3
Whiteboard: [telemetry:mobilesdk:m3]
For initializing: * Create a class that extends android.app.Application: https://github.com/mozilla-mobile/reference-browser/blob/master/app/src/main/java/org/mozilla/reference/browser/BrowserApplication.kt#L13 * Reference it from the application tag (name) in AndroidManifest.xml: https://github.com/mozilla-mobile/reference-browser/blob/master/app/src/main/AndroidManifest.xml#L20 * Do your initialization from onCreate() of the application object.
Assignee: nobody → tlong
Attached file GitHub Pull Request (deleted) —
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: