Post

Replies

Boosts

Views

Activity

Can't refresh contents of File Provider -managed folder (Dropbox)
I want a user to be able to save a URL of a folder on a cloud share using the standard FileManager APIs. I'm testing with Dropbox in particular. The initial interaction is working (I can select a folder, save it as a bookmark, and scan the files in that folder). However, no changes made externally to the folder will be reflected in the app when I refresh the contents. Launching the Files app and browsing to the folder DOES show the updated contents, and once that step is complete, then my app will again show up-to-date contents. Is there perhaps some API I should be calling to trigger the Dropbox File Provider extension to update it's cache? Sample project demonstrating issue: https://github.com/dhennessy/FolderScan STEPS TO REPRODUCE Launch the app on a physical device Tap Choose, browse to folder on a Dropbox share, tap Open to select The app will show the contents of the folder (the 'test' folder) Switch to the Dropbox app and create a new subfolder of the test folder Return to the test app and tap Refresh. Notice that the changes do not appear Re-launching the app also does not show the changes Workaround Launch the Files app (or re-open the UIDocumentPickerViewController by tapping choose and then dismiss it) Tap Refresh and the changes will appear in the app Note: None of the other 'cloud file providers' (google drive, one drive, box) even allow the user to even select a folder.
2
0
297
1w
How to handle upgrades in multi-app subscriptions?
I have a group of apps where there is one 'main' app and one 'satellite' app. The satellite app has content about a particular area, and that content is split into free and premium content. The main app has a lot more content, including the content for the satellite app. I want to offer two subscription levels: 'lite' for the premium content in the satellite app, and 'full' for all content. Note that a user with a lite subscription can access the premium satellite content in either the satellite app or in the main app. The challenge is that a user might take the following actions: Install the satellite app Purchase the lite subscription to access satellite premium content. Install the main app (and continue to access satellite premium content). Uninstall the satellite app. Want to upgrade from lite to full subscription. Because his subscription is with the lite app, it seems that there is no way for him to buy an upgrade from the main app. We are left with two options, neither good: Sell him the full subscription. This won't cancel his lite subscription so he'll be paying twice. Tell him to reinstall the satellite app, purchase the upgrade there, then uninstall it and return to the main app. Is there any better way to handle this?
0
0
261
Jun ’20