Moisture reactivity of metal halide perovskites remains a barrier to commercializing perovskite solar cells because it necessitates encapsulation and increases manufacturing complexity and cost.