According to this github issue there is a change when compiling with 27 that leads to onLayoutChild being called before onTouchEvent. Due to this there will be a NullPointerException thrown in line 273:
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v4.widget.ViewDragHelper.processTouchEvent(android.view.MotionEvent)' on a null object reference
at com.bottomsheetbehavior.RNBottomSheetBehavior.onTouchEvent(RNBottomSheetBehavior.java:273)
According to this github issue there is a change when compiling with 27 that leads to
onLayoutChild
being called beforeonTouchEvent
. Due to this there will be a NullPointerException thrown in line 273: