Starting with the iPhone 11, Apple has added an iOS notification that tells the user when the device has a non-genuine display - which was later extended to third-party batteries. And now iOS 14.4 will alert users when it detects non-genuine cameras on the iPhone - in the event of a repair.

Detected by MacRumors and confirmed by 9to5Mac, the second beta of iOS 14.4 brings a new message that will appear on Appliances that have cameras that are not authentic hardware of Apple. The message states "Unable to verify this iPhone has a genuine Apple camera". It is not clear if this will apply for all iPhones or for iPhone 12 models only.
Under these circumstances, the notice will placed in practice iOS Settings, just as with screen notifications and batteries which are not genuine. The message probably will not affect the way operation of the camera, although non-genuine components do not have the same quality with genuine Apple hardware.
The company, of course, advises customers to take their iPhone and other Apple devices to its official stores company or an Apple Authorized Service Provider (AASP) for repair and service certified from the company.
Source of information: 9to5mac.com