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
F2139905: D12406.id41403.diff
Sat, Jun 29, 3:56 AM
Unknown Object (File)
Wed, Jun 26, 4:13 PM
Unknown Object (File)
Wed, Jun 26, 3:31 PM
Unknown Object (File)
Wed, Jun 26, 11:18 AM
Unknown Object (File)
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
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