Google Messages is testing a feature that prevents you from using the app if it detects screen sharing, preventing potential bad actors from eavesdropping on private conversations and SMS security codes.  While this measure aims to improve security, it may backfire by impeding legitimate use cases in which users require assistance within the Messages app.

Source Courtesy