I removed the
import ReactNativeHapticFeedback from "react-native-haptic-feedback";
const runFeedback = () => { if (hapticFeedback) { ReactNativeHapticFeedback.trigger(hapticFeedback); } };
if (next !== null) { runOnJS(runFeedback)(); }
from the "DnDProvider".
The package seems to work fine, but I'm not entirely sure if it breaks the entire package. From my testing, it function on the web without encountering the issue: Metro error: Cannot read properties of undefined (reading 'getEnforcing');