Hereflow only help your drone to lock to XY position. use a barometer or rangefinder to lock the height (Z). so, for navigation, it would not work.
Have you done this, manually change between GPS and Optical Flow inflight? Indoor, I recommend PosHold flight mode.