Skip to content

Releases

v0.4.0

Choose a tag to compare

@thedev204 thedev204 released this 22 Oct 07:13

Added

  • Mid-fling scroll prediction — prefetch / decoder warm-up from offset + velocity; playback still settles via viewability.
  • Decoder window unions activeIndex + predictedIndex so the landing page mounts before settle.
  • Muted first-frame warmup for preloaded neighbors (unblocks onReadyForDisplay on Android).
  • drawDistancePages — FlashList draw distance independent of the decoder window (default preloadWindowSize + 1).
  • preloadStrategy (symmetric | directional) — optional directional decoder slots ahead of scroll.
  • Prefetch concurrency cap (prefetchMaxConcurrent, default 2), poster-first warm-up, and abortable video Range fetches.
  • Optional networkAware + optional peer @react-native-community/netinfo for cellular/offline start-quality and prefetch budgets.
  • Exported helpers: predictScrollTarget, getNetworkAwareDefaults, networkKindFromNetInfoType, DEFAULT_PREFETCH_MAX_CONCURRENT.

Changed

  • showPosterUntilReady now defaults to true. Built-in player covers the surface with a poster overlay until onReadyForDisplay / first onProgress (never toggles Video opacity — that caused permanent black frames on Android).
  • Full-page snap: pagingEnabled on iOS; Android uses snapToInterval + decelerationRate="fast". Settle-to-nearest-page runs on momentum end (and drag-end only when there is no fling velocity) so flings are not cancelled.
  • Example app migrated from bare React Native to Expo.

v0.1.0

Choose a tag to compare

@thedev204 thedev204 released this 04 Sep 14:09

Added

  • Initial release of react-native-flash-reels.
  • FlashReels vertical snap feed built on FlashList v2 (New Architecture).
  • Auto play/pause from viewability, with single-tap pause/play override.
  • Double-tap like with heart animation (onLike / onDoubleTap).
  • Global mute — controlled (muted / onMuteChange) or uncontrolled (defaultMuted).
  • MuteButton and useFlashReels for overlay mute state.
  • Optional Instagram-style progress bar (showProgressBar + ReelData.duration).
  • Optional pagination (onEndReached) and pull-to-refresh (onRefresh).
  • Optional buffering loader (showBufferingLoader / renderBufferingLoader).
  • Custom overlay and video engine via renderOverlay / renderVideo.
  • Preload window (preloadWindowSize) to limit concurrent video decoders.
  • Imperative ref API: scrollToIndex, pause, play.
  • Example app with custom overlay and comments bottom sheet.
  • Documentation site (Docusaurus) with API reference and guides.