It seems that for support is not fully there yet for the XZ2 Compact, camera is still a work-in-progress, unfortunately: https://forum.xda-developers.com/xperia-xz2/development/rom-...
But once that's sorted out I might be tempted to switch, or at the latest when I run out of official Sony updates.
I used to run a Z3C, but after some of the seals got loose I upgraded to an XZ1C. It's near perfect for me, and I don't know where I'm going to go next for a compact phone.
z1c battery is cheap and not too hard to replace. all you need is a hair drier, credit card and adhesive to stick the back cover again.
i’ve replaced mine in like 10 minutes after watching instruction on yt
I did have the same issue on the z3c with the seals coming loose. Eventually the glass panels got loose too.