Page MenuHomePhabricator

[native] register user on native (C++ changes)
ClosedPublic

Authored by varun on May 1 2023, 7:26 AM.
Tags
None
Referenced Files
F4108426: D7695.id26045.diff
Mon, Feb 17, 3:50 PM
Unknown Object (File)
Fri, Feb 14, 12:58 PM
Unknown Object (File)
Thu, Feb 13, 2:41 PM
Unknown Object (File)
Sat, Jan 25, 7:23 AM
Unknown Object (File)
Sat, Jan 25, 7:13 AM
Unknown Object (File)
Jan 15 2025, 4:43 AM
Unknown Object (File)
Jan 5 2025, 5:41 AM
Unknown Object (File)
Jan 5 2025, 5:41 AM
Subscribers

Details

Summary

add registerUser function to CommCoreModule

Test Plan

successfully registered a new user from js

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

varun requested review of this revision.May 1 2023, 7:45 AM

Are any CMake changes necessary here? Or does it work because of a GLOB somewhere?

rename identity -> content

Are any CMake changes necessary here? Or does it work because of a GLOB somewhere?

we glob the files ("MODULE_ROOT_NATIVE_CODE") so no CMake changes needed

native/cpp/CommonCpp/NativeModules/JSIRust.cpp
6 ↗(On Diff #26025)

You should #include all of the stuff you use, so eg. #include <string> for this

Seems good to me (assuming it passes CI)

This revision is now accepted and ready to land.May 3 2023, 1:29 PM