snapdrop
snapdrop copied to clipboard
Added standalone PWA for iOS 13 and higher
Moved the manifest.json file to a manifest.js file to allow change based on iOS version.
The default mode is now standalone unless iOS version is less than 13 (the apps works with iOS 13 and higher).
The patch was not tested with iPad versions and Android
@RobinLinus can I have your opinion on this?
Thanks for working on this! I am also interested in getting the PWA to be standalone, as this allows the app to continue to work when Safari is disabled (I like my smartphone browser-free most of the time).
I think this uses the technique described in this Medium post? It's clever, but do you have any insight into how reliable/portable this is? It would be nice to know that this doesn't rely on some browser glitch that could go away at any time.
I would be able to test with iPad and Android. Is there an easy way for me to test just the client without having to spin up the Docker image?
Yes, it uses the technique described in the medium post. For the testing, I don't think you can use something else than the docker image
Does not allow it to work without the web browser.
Can we have another version of UWP for this app so that we can share directly files in Windows in the context menu?
@hello-smile6 What does that mean?
...so that we can share directly files in Windows in the context menu?
How could that be archived? That would be awesome...
That could be a good idea, but I don't think it has to do with the current PR Maybe open a new issue?
Hi! How can I install Snapdrop as a standalone PWA on iOS?
I tap on "add to Home Screen" but only creates a bookmark that opens a Safari tab instead of it's own app "window".
Yes @edge261, this is because this pull request hasn't been merged, yet. For now, you can't do anything.
Please, @RobinLinus, can you merge this pull request?
I think we can build a iOS-compatible PWA app, and iframe snapdrop.net inside it, which also makes it PWA-ready. I have built an instance this way, which is compatible with snapdrop.net and snapdrop's 3rd-party android version.
It doesn't solve the problem, but make it possible to achieve what we need without getting docker.
(I built the instance for myself, and make it public here so that others can make use of iOS PWA, and if anyone think that to iframe snapdrop.net is not acceptable, I can delete it or edit it.)
What is the status of this PR?
Still waiting for merging
Months later and this has not been merged... :(
We really, really need to install this as a PWA on our iOS devices.
Months later and this has not been merged... :(
We really, really need to install this as a PWA on our iOS devices.
Make the websocket URL be set to wss://snapdrop.net/
. Just clone the repository, git pull
this PR, and make a script that automatically pulls changes and builds every about 2 hours.
Months later and this has not been merged... :( We really, really need to install this as a PWA on our iOS devices.
Make the websocket URL be set to
wss://snapdrop.net/
. Just clone the repository,git pull
this PR, and make a script that automatically pulls changes and builds every about 2 hours.
I know nothing about how to do this haha :(
This PR is really neat! I was going to open it, but his implementation is better. @RobinLinus this increases the usability of Snapdrop on iPhone by a lot. It seems like there is a lot of demand for this PR to be merged, as there is lots of duplicate issues.
@RobinLinus please review and consider merging.
@RobinLinus news?