I try to only download apps from F-Droid. It's a FOSS repository for android.
Then I use an own Nextcloud to be free of other cloud providers. I use it for files, RSS aggregation, notes, calendars, tasks, bookmarks, music streaming. Works flawless since years now.