Page MenuHomePhabricator

[native] Add a custom TabNavigator
ClosedPublic

Authored by kuba on Jun 23 2023, 2:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 2:04 PM
Unknown Object (File)
Sat, Nov 23, 2:04 PM
Unknown Object (File)
Sat, Nov 23, 2:04 PM
Unknown Object (File)
Thu, Nov 7, 3:39 PM
Unknown Object (File)
Oct 30 2024, 7:21 PM
Unknown Object (File)
Oct 13 2024, 9:21 PM
Unknown Object (File)
Oct 11 2024, 9:44 AM
Unknown Object (File)
Oct 11 2024, 8:38 AM
Subscribers
None

Details

Summary

I add a custom router and navigator for TabNavigator. In later diffs, the new router will be used to prevent the user from tab navigating in edit mode.

Test Plan

On iOS:

  • Open the app.
  • Navigate between tabs.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kuba retitled this revision from [native] Add custom TabNavigator to [native] Add a custom TabNavigator.
kuba edited the summary of this revision. (Show Details)
native/navigation/tab-router.js
22–27 ↗(On Diff #28033)

Here is a draft of a custom getStateForAction. Going to be used in the next diff.

Harbormaster returned this revision to the author for changes because remote builds failed.Jun 23 2023, 2:52 AM
Harbormaster failed remote builds in B20451: Diff 28033!
This revision is now accepted and ready to land.Jun 27 2023, 8:24 PM