Have the native_rust_library be aware of the
underlying platform to communicate that information
during registration of the device
https://linear.app/comm/issue/ENG-4608
Depends on D8749
Differential D8816
[Native] Encode platform type in native_rust_library • jon on Aug 15 2023, 9:33 AM. Authored by Tags None Referenced Files
Details Have the native_rust_library be aware of the https://linear.app/comm/issue/ENG-4608 Depends on D8749 Android and iOS build
Diff Detail
Event Timeline
Comment Actions We don't need native as an option here. To deliberately avoid ambiguity, I explicitly enumerated the full list of device types you should support in two places: Phabricator and Comm ("How to differentiate between different Comm devices" thread under "Services team" channel). It's already frustrating to me that I have to micromanage to this degree. Ideally I should not have to give you explicit guidance at all, but the fact that guidance is frequently ignored means that I need to review every single one of your diffs. This is the same problem as in D7691. There is very little that frustrates me more than feeling like the effort I put into careful, thoughtful, explicit communication is wasted and ignored. Comment Actions
I kept it in case anyone had some data written which used it. Which would cause errors with their specific setup. Probably not an issue as I think most of the native_rust_library implementations are "there but not used". Also, removal of enum entries from protobuf is an anti-patttern, as there may be stale devices which are still using the legacy paradigms. Once these gRPC endpoints get "launched publicly", we can no longer mutate protocol messages. Seemed like a "doesn't hurt having the old paradigm in a deprecated state, but could cause issues removing it" situation. Anyway, I'll remove it since I'm in the wrong. |