-
-
Notifications
You must be signed in to change notification settings - Fork 332
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
[Enhancement] Native clients via Flutter #292
Comments
The following comments were deleted by GitHub (via hubot) as part of mistakenly marking this account as spam on 17th February 2024. The correct thread order and the creation date is unclear. I decided to manually restore them anyway in order to complete the information this issue holds even though the restored information might be outdated: Comment by @rohsaurus:Would pairdrop become directly p2p with this implementation, or would it still allow for request to happen over the internet. I feel what makes pairdrop extremely powerful is the fact that I can transfer stuff to devices on different wifi networks, as well as within wifi networks that block p2p connections. Comment by @schlagmichdoch:
Absolutely! I aggree that internet transfers and autodiscovery makes PairDrop much more powerful and there will be no changes to the current transfer model or the user workflow! The biggest USP of PairDrop imo is the "no setup" part. New users only have to open the webpage and everything just works. The proposed changes offer increased speed, security and new features (offline capabilities and always on background service) for users that are willing to install an actual app. Speed is the main issue for newest users and there is only so much browsers can do. Using native WebRTC libraries, we should be able to get close to the actual download / upload limits of the device. Naturally, as all clients (webpage and flutter) talk to the same backend, the flutter clients will be perfectly compatible with users using the browser at pairdrop.net or your instance.
Nothing changes, but to clarify: Thanks to WebRTC "p2p" and "requests over the internet" do not contradict each other. Only connections were clients are behind different NATs need a TURN server. All connections are end-to-end encrypted. Comment by @rohsaurus:Oh, perfect! I can fork the repo and get started on first getting the webpage to display on Flutter? Comment by @schlagmichdoch:Maybe wait until I've deployed Comment by @schlagmichdoch:Alright, I'll stay tuned. On Thu, Nov 2, 2023, 21:28 schlagmichdoch @.***> wrote:
Comment by @schlagmichdoch:It took longer than expected as a lot of enhancements and heavy refactoring have been implemented into this new version (see #209). It is done now. @rohsaurus Feel free to get started with the Flutter app! :) Comment by @rohsaurus:Sorry for the late response. I'll get started soon! Comment by @rohsaurus:Sorry I've been busy with everything. How would you suggest we do this? Would you suggest that I display pairdrop in a webview in a flutter app, or would you suggest more of building the flutter app from scratch? Comment by @rohsaurus:https://github.com/openwebf/webf Comment by @schlagmichdoch:
Wow, this looks really promising! Using their API would be much nicer than handling another websocket in the dart code. I like! https://openwebf.com/docs/tutorials/guides-for-flutter-developer/dart_js_intercommunication
I wish to display PairDrop in a webview to reuse all of the GUI logic. But intercept the WebRTC part to use flutter-webrtc instead. Simply showing local pages would be good a start. Not sure how to approach communication. I think github issue might be a bit slow. Maybe we could start a discord or slack for short term communication? Comment by @rohsaurus:A discord should work, yeah. On Tue, Feb 13, 2024, 12:43 schlagmichdoch @.***> wrote:
|
This issue was deleted by GitHub (via hubot) as part of mistakenly marking this account as spam on 17th February 2024. The creation date is unclear. There are also links to the deleted issue that are not updated to this issue. I decided to manually recreate it anyway in order to complete the information the repo holds even though the restored information might be outdated:
Issue by @schlagmichdoch:
What problem is solved by the new feature
Browsers do not use the full potential of WebRTC and are not well suited to use big files.
I plan on wrapping PairDrop via Flutter to create clients for all devices.
Describe the feature
The text was updated successfully, but these errors were encountered: