The camera trigger button of the case works by mechanically pushing the volume button on your phone, which when the built-in photo app of your phone is open works to take photos.
https://m.aliexpress.com/item/1005001374646779.html
It fits many different models, including my iPhone X.
Still I take a couple of precautions with it. First time I used it, I put paper inside of it instead of my phone inside of it and submerged it for a while to see that it didn’t leak. And when I use it I always dry it off completely after use on the outside before opening it and then carefully inspect the inside to be sure that it still didn’t leak. If you do find a leak after use, treat it like you would treat dropping your phone into water unprotected. That is, if there was a leak turn the phone off, dry the outside of the phone with paper and put the phone in an open box with a lot of rice and keep it there for an appropriate amount of time to have the rice absorb as much moisture as possible.