Page MenuHomePhabricator

[lib][native] add useVersionSupportedByIdentity hook and use it on native
ClosedPublic

Authored by varun on Wed, Jun 12, 8:22 AM.
Tags
None
Referenced Files
F2114138: D12406.id41403.diff
Wed, Jun 26, 4:59 AM
Unknown Object (File)
Mon, Jun 24, 6:08 AM
Unknown Object (File)
Sat, Jun 22, 5:30 PM
Unknown Object (File)
Fri, Jun 21, 5:43 PM
Unknown Object (File)
Fri, Jun 21, 4:24 PM
Unknown Object (File)
Thu, Jun 20, 10:57 PM
Unknown Object (File)
Thu, Jun 20, 6:41 PM
Unknown Object (File)
Wed, Jun 19, 6:23 PM
Subscribers

Details

Summary

we should avoid calling commRustModule directly from VersionSupportedChecker

Depends on 12405

Test Plan

ran the iOS simulator and confirmed that the VERSION_SUPPORTED_BY_IDENTITY_STARTED and VERSION_SUPPORTED_BY_IDENTITY_SUCCESS actions were dispatched.

modified staging identity to set the min supported version to 1000, confirmed that the alert was displayed on simulator

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

varun requested review of this revision.Wed, Jun 12, 8:46 AM
ashoat added inline comments.
lib/types/redux-types.js
1500

Making the payload an object makes it easier to modify later

This revision is now accepted and ready to land.Wed, Jun 12, 9:49 AM

make success payload an object