Hi, so, what I'm looking to do is to provide a browsing screen for the below in my app i.e., construct the browsing UI for it and then when user selects a file here, I want to be able to open and read from it, example the 'on my iphone; tab in files has a specific path to it, if I use this to get folder structure and construct my own way of how the browse ui is supposed to look like. The storages/browsing options I want to show are,
Local Storage: The folders shown when we go to the 'On my iPhone' tab in the Files app.
Remote Storages like,
Network Shared Folder/drive: Similar to the connect to server option that is shown in the Files app, and in files app on selecting files I get a path that I can work with, but I also wanted to know how this mount happens i.e., if file gets downloaded and changes synced or folder is actually mounted on file system.
Cloud Storage: Like amazon s3, etc, can I provide a way to connect to these inapp and browse them and what would I get as path when I select a file. or can I show this option as locations in my app similar to the way it is shown in Files app.
Sync Folders: Like onedrive, etc. Same as above can I have them in app or show them as locations
Wireless Storage: Is there a way to detect a bluetooth storage being connected here, and how do I display the browse ui for it with my app?
Removable Storage: Similarly, can I detect if a pendrive was connected to iPhone and show the browsing ui for it? what would the path look like
FTP and http links: how to browse the former and stream data from the latter.
Please let me know if you have any inputs on which is possible and how. Thanks in advance
Post
Replies
Boosts
Views
Activity
Hi, so a little context, by environment variables I mean like $HOME in linux. I know that there are some standard and some app specific environment variables in the above mentioned platforms.
Is is possible for the user to set environment variables? If so, what are the ways in which users can set environment variables in the platforms mentioned across the system or for the app as they would in macOS/linux/windows?
And is it possible for developers of the app do the same? If so how?
What I have found so far is that it cannot be done by users, and there is one place in xcode where I, as a developer can set environment variables for my app from the scheme. This isn't available when I ship just the installation binary to the end user, but rather is available only when the app is run using xcode. I just need validation that what I understand is correct and that there aren't other ways to do this by the user/developer without jailbreaking.