Closed rajramsaroop closed 5 months ago
Question - does HealthMetrics have to be a separate module? Seems like it could just be a package in DittoHeartbeat
module. They're related and metrics wouldn't be used anywhere else?
Question - does HealthMetrics have to be a separate module? Seems like it could just be a package in
DittoHeartbeat
module. They're related and metrics wouldn't be used anywhere else?
on the Swift side its separate because the HealthMetricProvider
protocol needs to be visible to other tools so that they can conform and provide health metrics. I think the same thing makes sense here?
Question - does HealthMetrics have to be a separate module? Seems like it could just be a package in DittoHeartbeat module. They're related and metrics wouldn't be used anywhere else?
on the Swift side its separate because the HealthMetricProvider protocol needs to be visible to other tools so that they can conform and provide health metrics. I think the same thing makes sense here?
Yeah, the idea is that HealthMetrics will be added to other tools. It will be used to add the given tools data to the Heartbeat tool. It is a seperate module, but we don't need to publish it to Maven as a seperate module. We just need to make sure it is included in the .aar
for each module that uses it.
@zmarkan did https://github.com/getditto/DittoAndroidTools/pull/79 include these changes as well?
@bplattenburg yes, it included everything apart from the last commit with namespace change - https://github.com/getditto/DittoAndroidTools/pull/77/commits/abf9ea971197a3742557dd70ade3e8c4774d8979
I think we're good to close this then? @rajramsaroop
I think we're good to close this then? @rajramsaroop
Gonna include the changes Ben mentioned, but otherwise Zan's PR covered everything else.
I updated the namespace to match what I will update in my other PR to fix the duplicate class issue.
This PR also updates the build.gradle to use version catalog for the plugin imports.
There were some build errors with the tools app related to gradle dependencies + error in code.
Should now be able to build and run the app.