Straightforward smartphone assay for quantifying tannic acid in beverages based on colour change of Eu3+/polyethyleneimine complex.