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--------Feature/file transfer progress #58

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

dikshantbhangala
Copy link

#24 done with making changes needed

Real-Time Progress Tracking:

Added variables (fileTransferProgress, transferSpeed, estimatedTimeRemaining) to monitor and calculate file transfer progress dynamically.
Progress Bar UI Integration:

Integrated circular and linear progress bars for both sender and receiver to display real-time file transfer status.
Enhanced File Decoding:

Improved decodeAndStoreFile to manage storage permissions and ensure proper file handling across platforms.
Efficient Transfer Handling:

Implemented logic to update progress on each data chunk transfer using streams and callbacks.
Error and Edge Case Handling:

Managed scenarios like transfer interruptions, failures, and cancellations, ensuring a graceful reset of progress bars.
Improved Device Connection Management:

Refined updateDevices and updateConnectedDevices methods to maintain a clear device list during transfers.
Code Optimization and Cleanup:

Streamlined redundant code, added comments, and ensured smooth integration of flutter_nearby_connections for P2P transfers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant