Either I'm just tired and blind but I can't seem to find a solution for my issue:
I want people that have the app APK to be able to, after installing the app, get assets from OneDrive. Like a button in the app which fetches assets from OneDrive (which they must log in to of course).
More in depth explanation:
User gets APK, installs it. After opening the app, they need to press a button to open OneDrive, where they will be able to download a folder with all necessary extra files to use the app (images and information). The idea is that you need to log into my corporates OneDrive to be able to access the files. This way, even if someone gets the app APK from outside, won't be able to get any crucial information.
Of course you could just steal one of the company phones but they get wiped if so, so the issue isn't there.
Sorry for bad English and thank you for your help!
As of now, I have direct links to files. This way the user logs in on OneDrive but OneDrive itself is slow to open so my goal is to be able to directly download files (or if the user could manually do it, however the case).
To gain access to the files, since it's a work phone, you simply need to be logged in on OneDrive. I can get a download link created in OneDrive which instantly downloads the files if you put the link in a browser, however, how to implement it and be able to store the downloaded files in the app is my problem.
I tried to explain it as best as my translating program would allow. Let me know if you need me to clarify more