I am implementing backup/restore functionality like Whatsapp with Realm as a database.
So fare i am able to Backup and Restore users chat history, but could not get a way to validate the backup file.
Is there any documentation or reference on how Whatsapp validates the backup file with users phone number to avoid restoring database if number used for login and backup were different?
I have gone through Whatsapp whitepaper but there is not much to understand their technique.