HomePhabricator
Diffusion Comm c8d95123a827

[native] Rename get/setCurrentUserID in CommCoreModule

Description

[native] Rename get/setCurrentUserID in CommCoreModule

Summary:
While working on ENG-7667, I spent some time reviewing this logic in SQLiteDataHandler on native. I found that the use of these methods might be more clear with a better name.

My mental model for it is:

  1. A SQLite database is "stamped" once a user logs in
  2. If a SQLite database is "stamped" with a given user ID, then it will deleted as soon as that user is not the current user

Test Plan:

  1. Flow
  2. Compile the iOS app to a simulator and log in and log out. Make sure database is deleted

Reviewers: tomek, inka

Reviewed By: tomek

Subscribers: marcin

Differential Revision: https://phab.comm.dev/D11666

Details

Provenance
ashoatAuthored on Apr 10 2024, 9:41 AM
Reviewer
tomek
Differential Revision
D11666: [native] Rename get/setCurrentUserID in CommCoreModule
Parents
rCOMMc017019752b0: [native] check for null fid before adding to sqlite database
Branches
Unknown
Tags
Unknown