Page MenuHomePhabricator

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

Authored by varun on May 1 2023, 7:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 2:50 PM
Unknown Object (File)
Mon, Oct 28, 11:25 AM
Unknown Object (File)
Sat, Oct 19, 9:24 AM
Unknown Object (File)
Sat, Oct 19, 9:24 AM
Unknown Object (File)
Sat, Oct 19, 9:24 AM
Unknown Object (File)
Sat, Oct 19, 9:24 AM
Unknown Object (File)
Sat, Oct 19, 9:24 AM
Unknown Object (File)
Sat, Oct 19, 9:18 AM
Subscribers

Details

Summary

add registerUser function to CommCoreModule

Test Plan

successfully registered a new user from js

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

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

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