You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
As a mobile user who receives an ocis link ex. via messenger, I want to decide if the link should get opened in my mobile app or browser so that I have control over my tooling.
Value
Acceptance Criteria
If the user opens an ocis link on an ios/ipadOS or android device, the user should see in the mobile browser
Button: [Open in App]
option to dismiss the banner "X"
banner gets shown every time the user clicks on a shared ocis link
[~tbaader]add scribbles
new config option in theme.json mobile App scheme (owncloud://...) default: "owncloud"
Click on [Open in App] opens the file in the App
Note: If the user has no access to the corresponding resource, a errormessage is shown by the corresponding client
Implementation Note:
ipadOS user agent gets announced as "MacOS"
mabye use library to detect ipads as they get annonced as "MacOS" (ex. lib "Mobile Detect")
Definition of ready
[ ] everybody needs to understand the value written in the user story
[ ] acceptance criteria has to be defined
[ ] all dependencies of the user story need to be identified
[ ] feature should be seen from an end user perspective
[ ] user story has to be estimated
[ ] story points need to be less then 20
Definition of done
Functional requirements
[ ] functionality described in the user story works
[ ] acceptance criteria are fulfilled
Quality
[ ] code review happened
[ ] CI is green
[ ] critical code received unit tests by the developer
[ ] automated tests passed (if automated tests are not available, this test needs to be created and passed
Non-functional requirements
[ ] no sonar cloud issues
"Universal Links banner" (if you have enabled Universal Links for your domain and the app is already installed on the device, Safari will automatically show a smaller version of the app banner.)
Copies link to clipboard feature/hack, so the iOS apps can retrieve it from there
From the <id>0f1c87f7-92e5-4549-8197-c7ece53e2e87$4c510ada-c86b-4815-8820-42cdf82c3d51!d485c939-0141-456b-8a97-5bfa9497ddff</id>, web can generate a link, that gets displayed as the [Open in App] button:
Activity
[-][ocis] Open in web or app[/-][+][web] Open in web or app[/+]michaelstingl commentedon May 31, 2023
Related:
michaelstingl commentedon Jun 2, 2023
Android Examples from other Services
Elements / features used
smartbanner.jscould help)Google Meet link redirects to Play Store 🤔
michaelstingl commentedon Jun 2, 2023
More information:
michaelstingl commentedon Jun 2, 2023
More information:
michaelstingl commentedon Jun 2, 2023
iOS Examples from other Services
Elements / features used
Smart App Bannermichaelstingl commentedon Jun 19, 2023
Users will receive a link like this on their mobile device (mail, messenger etc):
https://ocis.ocis-traefik.daily.owncloud.works/s/xbRJjSSUUrlmaitLink opens Web in mobile browser, and performs a request against the unauthenticated
tokeninfoendpoint:/ocs/v1.php/apps/files_sharing/api/v1/tokeninfo/unprotected/xbRJjSSUUrlmaitFrom the
<id>0f1c87f7-92e5-4549-8197-c7ece53e2e87$4c510ada-c86b-4815-8820-42cdf82c3d51!d485c939-0141-456b-8a97-5bfa9497ddff</id>, web can generate a link, that gets displayed as the[Open in App]button:owncloud://ocis.ocis-traefik.daily.owncloud.works/f/0f1c87f7-92e5-4549-8197-c7ece53e2e87$4c510ada-c86b-4815-8820-42cdf82c3d51!d485c939-0141-456b-8a97-5bfa9497ddffThis link will then open the mobile app.
michaelstingl commentedon Jun 19, 2023
@micbar @tbsbdr @kulmann seems this doesn't work with password protected links:
There it only works when you
PROPFINDwith basic-auth (link password):It doesn't work with the credentials from the owner of the resource:
michaelstingl commentedon Jun 19, 2023
The owner of a resource could query
/ocs/v1.php/apps/files_sharing/api/v1/sharesand filter the result for thetoken>qVroPUsyqNgsKAi</token>:Then construct the link with
<space_id>and<item_source>…[-][web] Open in web or app[/-][+][web] Open in web or app banner[/+]michaelstingl commentedon Oct 25, 2023
Doesn't work reliable:
michaelstingl commentedon Oct 25, 2023
How can I go to the install page, im case the app isn't installed yet?
michaelstingl commentedon Nov 20, 2023
Config docs:
michaelstingl commentedon Nov 20, 2023
FR for config option to disable:
DeepDiver1975 commentedon Jun 30, 2026
This story shipped. The "Open in app" banner is implemented in web:
packages/web-pkg/src/components/AppBanner.vue(used inDriveResolver.vue)appBannertheme option (packages/web-pkg/src/composables/piniaStores/theme.ts)Closing as implemented. Follow-ups have their own issues (config to disable: #10015). Reopen if something here is still missing.
🤖 Generated with Claude Code