-
Notifications
You must be signed in to change notification settings - Fork 686
App integration for shared links #972
Comments
From my perspective, this don't work with public links yet. Public links don't get resolved to the location of the files in your account. Private links could work. Link will open mobile Safaris and ownCloud server should display a "Smart App Banners". ownCloud iOS app could implement the Related: https://github.com/owncloud/enterprise/issues/2173 (internal only) |
|
Agreed. But I was wondering about an improvement, where you could use the native app to decide what to do (since all the information is public in the link anyway). Like add to owncloud, open the file, share the link elsewhere.
And same with this, this would be cool. If we could try the fileid + hostname and see if you can access this file, if not your instance then basically show error, if your instance but no access show forbidden (and future: request access), if your instance but has access scroll to it. That would be awesome integration |
Please handle this on the server side and unite the different link types. I don't like the idea to solve this on the client side and implement in all 3 client platforms… |
What about 'add to owncloud' button on the web ui opens your native app? |
No, you need a special URL scheme. We can't register http://mycloud.com/ and http://yourcloud.com/ and http://everycloud.com/ to open the ownCloud iOS app. As far as I know, this string needs to be fixed at time of app compilation. |
You are right @michaelstingl , and this is a save flow |
The server needs to add a JSON with special configurations and app IDs that allow iOS to open your app. |
Ok this makes sense. Is anything actually retrived frmo the url you register, or is it just used to register the app handler? Since the button could point to owncloud.org/ios/publiclink/details.... and ios always registeres to that? |
No, @tomneedham If you point to this URL "owncloud.org" needs to have a JSON with the unique app identifier of your apps that you want to open in, add the URL domain inside your app and from that URL been able to retrieve a full path to download the file. |
This is how universal links works since iOS9 and it's a save approach. iOS no longer support directly URI schemes.
|
@michaelstingl about:
I think you're not seeing the banner because at some point in the past you probably dismissed it (and I'm guessing Safari considers all the apps sharing an Quoting from Apple's Promoting Apps with Smart App Banners:
Also see https://stackoverflow.com/questions/19412838 on how to take back Safari to a clean state and bring the banner back. |
@SamuAlfageme You are right. I clicked away this banner too often… |
This was already shipped in 3.7.4 for private links. |
no solution for unbranded clients yet. I guess this would require a server component to create magic links for iOS users. |
In the server side magic is posible i guess. iOS users mean App Store users? But the app would need to be re-signed with specific associated domains in both app and extensions. Distribution via App Store does not allow iOS users to perform it (afaik), so a fix por every user does not seems to be very friendly. Tell me if i am wrong. CC @pablocarmu |
proposed server enhancements: |
Discussion topic. I was recently thinking about how nice it can be to be taken to a native app when you access a web link and you have the app installed - although I don't entirely understand the mechanics behind it. However I was wondering if we could do the following:
This would be a much nicer and native integration than the current experience for shared links on mobile. Maybe you have some other ideas :)
Updated by @nasli
AC:
The text was updated successfully, but these errors were encountered: