if i have to factory reset my phone - will i get my history back when i reinstall the app
Yes, if you sing in into the original account. The data is on the server, not on the phone.