Hall sensors are not affected by shock and vibration, but will show some voltage output variation due to the vibratory motion. Hall sensors can be used in most environmental conditions, except potentially wide temperature ranges. They can even be used in dirty environments.