Persist data across installs

My new app has some settings I would like to persist across multiple installs. Ideally it would be connected to the users Apple ID or Google account. As devices are connected with these accounts, is there an easy way to use their native clouds to persist and sync settings / app data?

I know you can achieve data peristence with a server side solution, but it would be easier for a simple app to just use the built in functionality like iCloud. So I was wondering if and how thats possible.

I looked into expo file system but I guess that does not persist the data across multiple installs or when switching to a new phone with the same Apple / Google account?

Hi! this is doable on iOS, at least, with SecureStore- https://docs.expo.io/versions/latest/sdk/securestore/