/** * Copyright (c) Double Symmetry GmbH * Commercial use requires a license. See https://rntp.dev/pricing */ import TrackPlayerWeb from './NativeTrackPlayer.web'; // Web variant of the module seam. Resolved by the bundler's `.web` extension // in place of trackPlayerModule.ts. Uses a static ESM import (no `require`) // and routes events through the web module's EventBus instead of // NativeEventEmitter — so nothing here touches react-native's native bridge. export const TrackPlayer = TrackPlayerWeb; export const emitter = TrackPlayerWeb.eventBus;