package com.swmansion.gesturehandler.react import android.content.Context import android.os.Bundle import android.util.AttributeSet import android.view.MotionEvent import com.facebook.react.ReactInstanceManager import com.facebook.react.ReactRootView import java.lang.Exception @Deprecated(message = "Use component instead. Check gesture handler installation instructions in documentation for more information.") class RNGestureHandlerEnabledRootView : ReactRootView { constructor(context: Context?) : super(context) {} constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs) {} init { throw UnsupportedOperationException("Your application is configured to use RNGestureHandlerEnabledRootView which is no longer supported. You can see how to migrate to here: https://docs.swmansion.com/react-native-gesture-handler/docs/guides/migrating-off-rnghenabledroot") } }