Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] iOS 15.1 not supported? #358

Closed
GOgo8Go opened this issue Jan 4, 2025 · 11 comments
Closed

[Bug] iOS 15.1 not supported? #358

GOgo8Go opened this issue Jan 4, 2025 · 11 comments
Labels
bug Something isn't working

Comments

@GOgo8Go
Copy link

GOgo8Go commented Jan 4, 2025

Unable to Use Pairdrop on iPhone

Issue Description:
Pairdrop is not functioning properly on iPhone devices. Specific issues are as follows:

The page loads successfully, and the network connection is normal.
Random naming shows "Loading" and never completes.
Clicking the paperclip icon at the top for pairing results in no response, as if the network is not connected.

Steps to Reproduce:

Open https://pairdrop.net/ on an iPhone device.
Wait for the page to load the random name (stuck at "Loading").
Click the paperclip icon at the top to attempt pairing—no response.

Attempts to Resolve:

1.Using mobile data: did not work.
2.Using a VPN: did not work.
3.Switching browsers (Firefox, Brave): did not work.
4.Trying other iPhone devices: did not work.
5.Self-hosting the Pairdrop project via Docker: the issue persists.
6. On a Windows computer using Firefox, the same issue occurred initially, but enabling the WebRTC feature in the browser resolved the issue, allowing successful pairing.

Expected Result:
Random names should generate normally, and pairing should function on iPhone devices.

Actual Result:
Random names remain stuck at "Loading," and clicking the pairing button yields no response.

Additional Information:

Network Environment: Mobile data, Wi-Fi, and VPN have all been tested.
Browsers: Safari, Firefox, Brave all have the same issue.
Devices: Multiple iPhones exhibit the same problem.

Suspected Cause:
Possibly related to network request restrictions or WebRTC compatibility issues on iPhone devices.

Requested Solution:
Please provide a resolution or specify any required configurations (e.g., enabling WebRTC) to resolve this issue.

@GOgo8Go GOgo8Go added the bug Something isn't working label Jan 4, 2025
@schlagmichdoch
Copy link
Owner

What iOS version are you using?

@GOgo8Go
Copy link
Author

GOgo8Go commented Jan 5, 2025

sorry, it's 15.1、13.3. what's maybe the reason?

@schlagmichdoch
Copy link
Owner

As of now PairDrop has only been tested on versions iOS 15.3 onwards. I guess some web technology that PairDrop uses is not supported in the Safari version that your iOS ships with which results in an unexpected error. It maybe catchable but not sure how great the impact would be.

What’s your reason not to update your iOS version?

@schlagmichdoch schlagmichdoch changed the title [Bug] Iphone can not use Paidrop, why? [Bug] iOS 15.1 not supported? Feb 10, 2025
@schlagmichdoch
Copy link
Owner

Apparently, I have not yet merged the PR that fixes this on iOS 15.3 so there is a chance that the PR might fix PairDrop for you too.

Could you please test if PairDrop works for you on this test instance on your iOS 15.1 device:
https://pairdrop-next.onrender.com/

@schlagmichdoch
Copy link
Owner

@ifilipis
Have you tested the instance above?
What do your browser logs say when visiting https://pairdrop.net?

@ifilipis
Copy link

ifilipis commented Feb 11, 2025

Yeah, the above makes it work on 14.3, but not 13.3. There were multiple errors related to JS syntax right at the beginning of UI initialization
I can send those tomorrow, or if you want, I can also give you access to browserstack. Although it's free for any open source project

Here's what I get in Safari 12

[Error] SyntaxError: Unexpected token '='. Expected an opening '(' before a method's parameter list.
(anonymous function) (ui.js:397)
[Error] TypeError: The superclass is not an object.
(anonymous function) (zip.min.js:1:2914)
(anonymous function) (zip.min.js:1:136)
Global Code (zip.min.js:1:200)
[Error] Unhandled Promise Rejection: ReferenceError: Can't find variable: AboutUI
(anonymous function) (main.js:168)
promiseReactionJob

@schlagmichdoch
Copy link
Owner

Thanks for testing! Sounds both good!
Didn’t know about Browserstack being free for open source projects.
I’ll take a look into it.

@schlagmichdoch
Copy link
Owner

Fixed with #349.
From v1.10.12 PairDrop should be working with iOS 11 and above

@ifilipis
Copy link

ifilipis commented Feb 13, 2025

Alright, all good, it was a cache thing, now it updated everywhere

@ifilipis
Copy link

@schlagmichdoch sorry one more, but are you planning to deploy it to pairdrop.net any time soon? currently, it only works on https://pairdrop-next.onrender.com/

@schlagmichdoch
Copy link
Owner

I'll deploy it as a new version tomorrow, I think, alongside some more small changes

schlagmichdoch added a commit that referenced this issue Feb 17, 2025
## Enhancements
- Make PWA standalone (#264)
- Bring back background animation after performance optimization (#285)
- Add support for Safari 11-15 (#358)
- Update Twitter icon and URL to (X) (Thanks @realchrislovett)
- Update node dependencies

## Fixes
- Fix pasting of files on background to invoke share-mode and make it available on Firefox (#370)
- Fix padding issue on EditPairedDevicesDialog and Base64Dialog
- Fix hydration of URLs into links in received messages that have exclamation marks in path

## Languages
- Translations updates from Hosted Weblate (Basque, Norwegian Bokmål)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants