Open Bug 1465939 Opened 6 years ago Updated 1 year ago

Put version, buildid and other useful information into GeckoRuntime

Categories

(GeckoView :: General, enhancement, P3)

59 Branch
enhancement

Tracking

(firefox61 wontfix, firefox62 affected)

Tracking Status
firefox61 --- wontfix
firefox62 --- affected

People

(Reporter: snorp, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [geckoview:klar:p3])

We have BuildConfig, but it has a ton of Geckoisms like MOZ_APP_BASENAME and some Fennec stuff. I think it would be better to expose a subset of these in GeckoRuntime. Something like:

GeckoRuntime.VERSION = BuildConfig.MOZ_APP_VERSION_DISPLAY
GeckoRuntime.BUILDID = BuildConfig.MOZ_APP_BUILDID
GeckoRuntime.CPU_ARCH = BuildConfig.ANDROID_CPU_ARCH
This version info will be useful for Klar to expose in its about page:

https://github.com/mozilla-mobile/focus-android/issues/2114
Priority: -- → P2
Whiteboard: [geckoview:klar:p1]
Priority: P2 → P3
Whiteboard: [geckoview:klar:p1] → [geckoview:klar:p3]
Product: Firefox for Android → GeckoView
Version: Firefox 59 → 59 Branch
Severity: normal → S3

Tasks and enhancements should have severity N/A.

Severity: S3 → N/A
You need to log in before you can comment on or make changes to this bug.