Adapt to SailfishOS' new (by v4.2.0) sharing API #83
Labels
bug
Something isn't working
feature request
feature requests, suggestions, ideas etc.
help wanted
Extra attention is needed
SailfishOS 4.2.0 uses a new sharing API and omits the old one, hence currently "sharing" with FileCase is defunct on SailfishOS ≥ 4.2.0.
This code change in Storeman can be used as a template: storeman-developers/harbour-storeman@7196fc2
Edit: An even better template seems to be monich/sailfish-qrshare@102c5b4
But in contrast to Storeman a single codebase should be retained, hence the two code paths for
sailfish-version < 4.2.0
andsailfish-version ≥ 4.2.0
ought to be e.g. conditionally compiled by preprocessor statements (see e.g. this construct in the SailfishOS:Chum GUI app as a starting point) etc.P.S.: This is also one part of issue #84 (i.e. splitting PR #60 and adding backward-compatibility to each of its parts).
The text was updated successfully, but these errors were encountered: