Government measures protecting country from attacks are fine as long as they don't erode individual liberties. When they do, the official rationale becomes suspicious.
Forbidding installing apps from non-official sources is obviously bad and I don't think most people want it.