Apologies ahead of time if this is not the correct forum to ask this question:
My iPhone 10 is slowly dying (screen goes black for days, then will randomly come back just fine; Apple Store said $300 repair, not interested). I've decided to leave Apple products altogether (no hard feelings; just doing what the rest of the family does).
What steps do I need to take when exiting to make sure I have all my data (photos, contacts, etc.)?
I'm especially worried that I'm going to forget something, try to log in to iCloud with my AppleID and be unable to authenticate because I have no Apple product to enter the code on and/or it sends it to my defunct iPhone.
What measures should I take so that I will be able to access everything using non-Apple products only?