Preparation of CsSnBr3 perovskite film and its all-inorganic solar cells with planar heterojunction