There's no point in implementing cert pinning if you don't also have integrity checking... Being able to alter bytes in the physical file and running it should not be possible (without another bypass).
Integrity checking is user-hostile, but certificate pinning can be good for users.