A dual-function chitosan packaging film for simultaneously monitoring and maintaining pork freshness.