[feature/app-provider] App Provider support
Description
Adds support for opening files in web apps and for creating new files using the App Provider API.
Related Issue
#1127
Developer Documentation
- https://owncloud.dev/services/app-registry/apps/
Screenshots (if appropriate):
Creating new documents
| Empty folder action | Folder action | File type picker | File name entry | New file |
|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
Open document in web app
| In info sheet | In context menu | Opened in Safari | In-app | In-app, with default browser option |
|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 4 committers have signed the CLA.
:white_check_mark: michaelstingl
:white_check_mark: hosy
:x: felix-schwarz
:x: Matthias Hühne
Matthias Hühne seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.
(1) [FIXED]
Close button is almost invisible in Dark themes, with inline editor:
iPhoneXR 16.0.2
4b9af63aa
(2) [FIXED]
- Download an OpenOffice file
- Remove device connection
- Select the
Open in OnlyOffice (web)over the downloaded file
Current: nothing happens. Expected: some error feedback
iPhoneXR 16.0.2
4b9af63aa
(3)
- Remove device connection
- Select
+andNew document - Enter a correct name
- Submit
Current: Nothing happens (should be file created and waiting for connection using the offline mode?). After recovering connection, status bar shows 95% completed forever:
https://user-images.githubusercontent.com/14894746/193578292-a0d99225-10eb-46e0-89e8-61c30e73d748.MP4
iPhoneXR 16.0.2 iPadAir 15.7
4b9af63aa
(4)
- Before building the app, select the option
default-browser, to open the files in the external one (Safari)

- Select
Open in xxx-> file opened in Safari browser correctly - Kill oC app and Safari app
- Reopen oC app
- Repeat step 2.
Current: file opened in the inline browser Expected: file opened in Safari (or default browser)
iPhoneXR 16.0.2 iPadAir 15.7
4b9af63aa
(5) Missing Translation
Some translation strings are missing.
@jesmrec (1), (2) and (3) are fixed as of https://github.com/owncloud/ios-app/pull/1151/commits/e8b125ec3dd0efbba0540105fa2a3c1ae2e20b2c
(4) is not a bug. The selected options in Xcode control which env variables Xcode sets for the app when it launches it. They don't persist and will only apply to the launched process. So when you relaunch the app outside Xcode, those env vars are gone and no longer apply.
@hosy (5) I looked through the strings and added those that previously weren't in Localizable.strings.
(1) and (2) fixed (4) wont fix
@felix-schwarz for (3):
Option to create new document is available. When i click on it, dialog to select document type is displayed and options there are clickable but they don't trigger any action or any error. Is that expected? doesn't use to be a good UX, not getting feedback for user actions:
https://user-images.githubusercontent.com/14894746/194862653-969711f2-5936-40f8-8c5a-44a7e1893895.MP4
(3) fixed in https://github.com/owncloud/ios-app/pull/1153
(3) was fixed in 12.0 experimental branch, so, if the current PR is merged somewhere, the fix will be lost unless experimental is merged too. Please, take this is account.
Feature is totally approved in experimental branch.
@jesmrec
(3) was fixed in 12.0 experimental branch, so, if the current PR is merged somewhere, the fix will be lost unless experimental is merged too. Please, take this is account.
Feature is totally approved in experimental branch.
That fix is in feature/new-navigation.
That fix is in feature/new-navigation.
Ok, just be careful if the current branch is merged somewhere, in order not to lose that fix. I let it in your hands.
Approved.
Merged into milestone/12.0 in 0a80962b27de768c31523233c75e8693d84d7dd3.









