linkding icon indicating copy to clipboard operation
linkding copied to clipboard

Improve PWA capabilities

Open hugo-vrijswijk opened this issue 2 years ago • 1 comments

Improves the manifest.json to make the app installable on devices.

  • Application is now "installable" and recognized as a PWA
  • Shortcuts are added for common actions (if there's more that should be added, feel free to mention them)
  • Add a share_target that allows sharing links to linkding when the PWA is installed (this works really well!)
  • Updates and adds icons to improve installability on devices. Such as multiple sizes and "maskable" icons for dynamic icons on Android (that have a custom shape)
  • Add application screenshot to the manifest.json so (on desktop) users will see a preview of the app when installing it
  • Updates CI to run on Node 20 and updates Svelte to 4 (though there are no real differences)

hugo-vrijswijk avatar Feb 16 '24 13:02 hugo-vrijswijk

@sissbruecker could you take a look at this? :)

hugo-vrijswijk avatar Feb 24 '24 10:02 hugo-vrijswijk

I'm still not getting this on Firefox, only the standard "Add to Home Screen". Are other people getting Install in the menu or Is it just a quirk of my install? I'm on Nightly.

dahamsta avatar Apr 10 '24 14:04 dahamsta

I'm still not getting this on Firefox, only the standard "Add to Home Screen". Are other people getting Install in the menu or Is it just a quirk of my install? I'm on Nightly.

I do get "Install" as an option on Firefox Android. Though I've installed it via Chrome because only Chrome supports the share target and shortcuts

hugo-vrijswijk avatar Apr 10 '24 17:04 hugo-vrijswijk

I'm still not getting this on Firefox, only the standard "Add to Home Screen". Are other people getting Install in the menu or Is it just a quirk of my install? I'm on Nightly.

I do get "Install" as an option on Firefox Android. Though I've installed it via Chrome because only Chrome supports the share target and shortcuts

I can confirm this, works on Android (14) with Firefox and Chrome

Edit: I double checked, it works an "normal" Firefox, Firefox nightly does not show me an install option as well @dahamsta

leepeuker avatar Apr 11 '24 11:04 leepeuker

Just occurred to me to test in standard Firefox, Install appears there but still not in Nightly, even with all extensions disabled. Would someone mind confirming please?

https://play.google.com/store/apps/details?id=org.mozilla.fenix

dahamsta avatar Apr 30 '24 21:04 dahamsta