Chosen Solution

I need a replacement glass lens for the flash

The reason Apple can’t just fix the lens is because of the way the iPhone X is designed. Screen repairs cost $279, but a cracked lens would fall under “Other Damage,” which is $549. I found this while shopping, I don’t know if this is what you are looking for but it might help. https://www.fixez.com/iphone-xs-max-rear

I’m facing this issue too while replacing the rear cover on my iPhone XS. The replacement cover somehow excluded the flash lens which seems to be bonded to the body of the original cover. Hope to see some answer to this.