This message comes up because the phone detects that the camera flips out by force. Because the bike shakes. The message is per design but your camera doesn't take damage. At the same time, I wouldn't recommend that you take a bumpy road every day with the phone attached to your bike. In the long run there's a small risk that it can wear out the motor. Can't you have it in your pocket?
Please update the firmware to 1906.167