Closed
Bug 1508227
Opened 6 years ago
Closed 6 years ago
Provide a better example for using Glean
Categories
(Toolkit :: Telemetry, enhancement, P3)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox65 | --- | affected |
People
(Reporter: Dexter, Assigned: travis_)
References
Details
(Whiteboard: [telemetry:mobilesdk:m3])
Attachments
(1 file)
(deleted),
text/x-github-pull-request
|
Details |
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
Reporter | ||
Updated•6 years ago
|
Comment 1•6 years ago
|
||
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 | ||
Updated•6 years ago
|
Assignee: nobody → tlong
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
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.
Description
•