We recently integrated Firebase Analytics in OneBusAway, but no events were showing up in our dashboard. After some debugging we eventually figured out that this line in the ES SDK manifest disables Firebase Analytics in OneBusAway, because the manifests get merged during builds:
Summary:
We recently integrated Firebase Analytics in OneBusAway, but no events were showing up in our dashboard. After some debugging we eventually figured out that this line in the ES SDK manifest disables Firebase Analytics in OneBusAway, because the manifests get merged during builds:
So, in OneBusAway we had to add this line in our manifest to enable Firebase analytics:
Because Firebase Analytics is typically enabled by default without any edits needed to the manifest, this solution wasn't an obvious one.
If possible I'd suggest removing the line from the ES SDK so that other apps that use Firebase Analytics don't have the same issue.
Steps to reproduce:
Expected behavior:
Firebase Analytics should be enabled within OBA and you should see debugging messages logging events
Observed behavior:
The log shows
App measurement disabled
.Device, Android, and Embedded Social SDK version:
OBA master branch at this commit (prior to adding the entry to our manifest) - https://github.com/OneBusAway/onebusaway-android/commit/e6520baa4e70018a4d8dbc2026226a33ee8ecb97