Page MenuHomePhabricator

[CommCoreModule] Introduce `PlatformSpecificTools::getDeviceOS()`
ClosedPublic

Authored by atul on Feb 9 2022, 1:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 7:40 PM
Unknown Object (File)
Nov 21 2024, 8:57 AM
Unknown Object (File)
Nov 2 2024, 8:32 AM
Unknown Object (File)
Oct 25 2024, 7:08 AM
Unknown Object (File)
Oct 25 2024, 7:08 AM
Unknown Object (File)
Oct 25 2024, 7:08 AM
Unknown Object (File)
Oct 7 2024, 10:20 AM
Unknown Object (File)
Oct 7 2024, 10:19 AM

Details

Summary

We need deviceOS for SessionSignature(...) unary gRPC call

Test Plan

Call function and log result. Only tested on iOS thus far, will test android before landing

Diff Detail

Repository
rCOMM Comm
Branch
landfeb10 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul requested review of this revision.Feb 9 2022, 1:23 PM
ashoat added a reviewer: jim.
This revision is now accepted and ready to land.Feb 9 2022, 10:09 PM

Could do something to avoid reinstantiating these strings, but I guess they're small-string optimized on the stack and what-have-you and maybe even get inlined

Could do something to avoid reinstantiating these strings, but I guess they're small-string optimized on the stack and what-have-you and maybe even get inlined

My instinct was also that the small string optimization would take care of us. Going to land as-is, but can always optimize later if we come across a better approach