Skip to content

Latest commit

 

History

History
55 lines (30 loc) · 1.82 KB

TODO.md

File metadata and controls

55 lines (30 loc) · 1.82 KB

TODO (react-native-ios-popover)

  • Implement react-native-ios-utilites
    • Move shared code to a separate library, and make it a peer dependency.

  • Refactor: Example - Extract Homescreen to its own file.

  • Implement: Example - Add debug controls

  • Implement: Example - Add env. constant to toggle navigation usage.

  • Refactor: Replace RNIContainerViewController usage with RNINavigationEventsReporting.

  • react-native-utilities@1.0.0 doesn't trigger the build error. react-native-ios-utilities@1.0.0-1 and above causes a build error.

    • Might be related to making the classes/protocols public?
  • [ ]

  • Implement: Lazy popover prop.

  • Test: Check for memory leaks.

  • Implement: Add Context — isPopoverVisible.

  • Implement: refreshPopoverVisibilityStatus.

  • Refactor: Make classes public.

  • Example: Add example for dynamic sized popover, i.e. grow/shrink.


  • (Commit: 99d3a18) Refactor: Re-write setVisibility error handling.
  • (Commit: a355a4c) Implement: setVisibility — Add option to ignore "popover already visible/hidden"-related errors.
  • (Commit: 2385908) Refactor: RNIPopoverViewModule.getVisibility error handling.
  • (Commit: d42d0d1) Refactor: iOS Native - Re-write props — Use willSet instead of didSet.
  • (Commit: 44c3c54) Refactor: Use RNIWrapperView

Old/Abandoned

  • UIPopoverPresentationController — Impl. passThroughViews prop

  • UIPopoverPresentationController — Impl. popoverLayoutMargins prop

  • UIPopoverPresentationController — Impl. getArrowDirection function

  • Impl. sourceView — Custom anchor for the popover. Pass in a react tag.

  • Impl. constant that exports the popover's arrow size from UIPopoverBackgroundView

  • Test on RN 0.63.4