libcontentaction-qt5 With url distinction

Rating: 
1
Your rating: None Average: 1 (1 vote)

This lib replaces system lib. Should work on 3.4 and 4.0 since it hasn't been updated for 7 months. It's still like first build, if there will be any issues (doubt) i will fix them but it's really robust. 

What it does:

For some time there has been issue with handling URLs in sfos. We wanted twitter URL to open in Twitter app and YouTube URL to open in YouTube app. This lib does exactly that. By default, when you install it you won't feel the difference as I made sure to make it fall back when there's no configuration. It will take some time for devs to include configuration for it but when they do, when you click URL pop up that opens to choose app either won't show and just launch app that handles link you clicked, or it will make u choose between apps that can handle that link, or if link doesn't have apps that handle it, it will fall back to old way. 

For devs, in order to use it, you just need to include in your .desktop file mimetype like this:
x-url-handler/<domain>
for example:
x-url-handler/twitter.com - if someone clicks http://twitter.com… or https://twitter.com it will open your app or show pop up to choose between your and other apps that handle it. 

It's totally painless to include it because if people don't install this lib, they won't feel any difference, it won't break anything it just won't be used. But if people have this lib, it will make use of it.

 

Since storeman decided to install it when you update apps, i removed rps and you can get them here 
http://repo.merproject.org/obs/home:/mister/latest_armv7hl/armv7hl/libcontentaction-qt5-0.3.16+test.uri.handler.20210205233035.1.g83f35c6-1.4.1.jolla.armv7hl.rpm

http://repo.merproject.org/obs/home:/mister/latest_armv7hl/armv7hl/nemo-qml-plugin-contentaction-0.3.16+test.uri.handler.20210205233035.1.g83f35c6-1.4.1.jolla.armv7hl.rpm
 

Category:

Keywords:

Changelog: 

Fixed defaultActionForScheme that was previously not adjusted to url mimetypes. Fixes single app calls

Comments

nfodor's picture

Hey the update would not work towards Sailish 4.x because of this library replacing the original one i guess and the update system is asking to delete it, but when trying to do so it does not let me because it is part of the system libraries it says.

Mister_Magister's picture

https://forum.sailfishos.org/t/release-notes-koli-4-0-1/4542/209?u=mister_magister

I removed packages for that reason. maybe link will be helpful :/