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

Implement File Upload Progress Indicator #24

Open
bhavik-mangla opened this issue Dec 26, 2024 · 1 comment
Open

Implement File Upload Progress Indicator #24

bhavik-mangla opened this issue Dec 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@bhavik-mangla
Copy link
Contributor

Currently, large file transfers occur without clear progress feedback. A progress indicator would greatly improve user experience by showing the percentage or status of an ongoing upload or download event.

Goals:
• Track file transfer progress in real time.
• Display a clear progress bar (circular or linear) to both the sender and receiver.
• Provide a user-friendly representation of how long a file transfer will take.

Possible Approach:
• During file upload, track the number of bytes transferred vs. total bytes.
• Utilize flutter_nearby_connections and Streams and Global cache.
• Update the UI with the calculated percentage (bytes transferred / total bytes).
• Create a callback or event handler that notifies the UI for each chunk of data transferred.
• Handle edge cases like transfer failures or cancellations and gracefully stop the progress bar.

@dikshantbhangala
Copy link

hii!!!!
@bhavik-mangla can i contribute to this issue?

@bhavik-mangla bhavik-mangla added the enhancement New feature or request label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants