Tungsten oxide ion-gated phototransistors using ionic liquid and aqueous gating media