About persisting data through app re-installation

Please tell me if there is any recommended method of persisting data (app token - string type) through app reinstallation.

With the answer from: https://developer.apple.com/forums/thread/36442?answerId=281900022#281900022

The suggestion of using DeviceCheck is not working for me since DeviceCheck will generate a random token, and with that token, our backend can only request for two bits.

Storing data on a device keychain will have an indeterministic future but seems like it's the only viable option for now.