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)
Thu, Apr 4, 10:52 PM
Unknown Object (File)
Thu, Apr 4, 10:52 PM
Unknown Object (File)
Thu, Apr 4, 10:52 PM
Unknown Object (File)
Thu, Apr 4, 10:52 PM
Unknown Object (File)
Thu, Apr 4, 10:51 PM
Unknown Object (File)
Thu, Apr 4, 10:44 PM
Unknown Object (File)
Feb 26 2024, 5:16 AM
Unknown Object (File)
Feb 20 2024, 6:01 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