How to clear state history without button click " clear history"?

Anyone have some ideia, please?

Has there been any progress on this issue?
We have such a need. Can you share with us when you find the solution?