Alert not working on mobile set to console for the camera test