Recent progresses in luminescent metal-organic frameworks (LMOFs) as sensors for the detection of anions and cations in aqueous solution.