Save game function doesn't work on Target SDK 32

My app worked when target sdk was 28 but store requirement is 32. So is there way fix this?