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

Please Add support for uploader.acknowledgeEvent(eventId) #57

Open
ArunTMT opened this issue Jan 28, 2025 · 0 comments
Open

Please Add support for uploader.acknowledgeEvent(eventId) #57

ArunTMT opened this issue Jan 28, 2025 · 0 comments

Comments

@ArunTMT
Copy link

ArunTMT commented Jan 28, 2025

Android device went to sleep mode When uploading a large file.
At the time, Notify listeners of the event pause. Can't get the updates

How to handle this issue?

if you implement the uploader.acknowledgeEvent(eventId) function. it will help me to get the information.

Reference code:
https://www.npmjs.com/package/cordova-plugin-background-upload-put-s3

Image


  V  Notifying listeners for event events
2025-01-28 14:21:15.093  7946-7946  Capacitor/Console       com.sample.video                    I  File: https://localhost/6346.ff2dd1b09439bb60.js - Line 1 - Msg: Upload progress: 65%
2025-01-28 14:21:15.296  1991-1991  NotificationService     system_server                        E  Muting recently noisy 0|com.sample.video|1234|null|10050
2025-01-28 14:21:15.485  7946-8249  UploadService           com.sample.video                    I  UploadTask - (uploadId: bf960ca0-6831-4b6a-8c88-a5e5bb4bd728) - uploaded 67%, 72052736 of 106283496 bytes
2025-01-28 14:21:15.493  7946-7946  Capacitor/...aderPlugin com.sample.video                    V  Notifying listeners for event events
2025-01-28 14:21:15.495  7946-7946  Capacitor/Console       com.sample.video                    I  File: https://localhost/6346.ff2dd1b09439bb60.js - Line 1 - Msg: Upload progress: 67%
2025-01-28 14:21:15.531  7946-8069  Capacitor/NetworkPlugin com.sample.video                    V  Notifying listeners for event networkStatusChange
2025-01-28 14:21:15.877  7946-8249  UploadService           com.sample.video                    I  UploadTask - (uploadId: bf960ca0-6831-4b6a-8c88-a5e5bb4bd728) - uploaded 69%, 74080256 of 106283496 bytes
2025-01-28 14:21:15.879  7946-7946  Capacitor/...aderPlugin com.sample.video                    V  Notifying listeners for event events
2025-01-28 14:21:15.885  7946-7946  Capacitor/Console       com.sample.video                    I  File: https://localhost/6346.ff2dd1b09439bb60.js - Line 1 - Msg: Upload progress: 69%
2025-01-28 14:21:16.004  7946-7946  Capacitor/AppPlugin     com.sample.video                    V  Notifying listeners for event pause
2025-01-28 14:21:16.004  7946-7946  Capacitor/AppPlugin     com.sample.video                    D  No listeners found for event pause
2025-01-28 14:21:16.005  7946-7946  Capacitor               com.sample.video                    D  App paused
2025-01-28 14:21:16.088  1991-1991  NotificationService     system_server                        E  Muting recently noisy 0|com.sample.video|1234|null|10050
2025-01-28 14:21:16.168  7946-7946  Capacitor/AppPlugin     com.sample.video                    D  Firing change: false
2025-01-28 14:21:16.168  7946-7946  Capacitor/AppPlugin     com.sample.video                    V  Notifying listeners for event appStateChange
2025-01-28 14:21:16.168  7946-7946  Capacitor/AppPlugin     com.sample.video                    D  No listeners found for event appStateChange
2025-01-28 14:21:16.168  7946-7946  Capacitor               com.sample.video                    D  App stopped
2025-01-28 14:21:16.169  7946-7946  Capacitor               com.sample.video                    D  Saving instance state!
2025-01-28 14:21:16.169  7946-7946  Capacitor               com.sample.video                    E  Couldn't save last FilePicker's Plugin pickVideos call
2025-01-28 14:21:16.210  7946-8249  UploadService           com.sample.video                    I  UploadTask - (uploadId: bf960ca0-6831-4b6a-8c88-a5e5bb4bd728) - uploaded 71%, 76394496 of 106283496 bytes
2025-01-28 14:21:16.223  7946-7946  MediaRouter             com.sample.video                    W  Ignoring invalid provider descriptor: null
2025-01-28 14:21:16.430  1991-1991  NotificationService     system_server                        E  Muting recently noisy 0|com.sample.video|1234|null|10050
2025-01-28 14:21:16.560  7946-8249  UploadService           com.sample.video                    I  UploadTask - (uploadId: bf960ca0-6831-4b6a-8c88-a5e5bb4bd728) - uploaded 72%, 77504512 of 106283496 bytes
2025-01-28 14:21:17.072  7946-8249  UploadService           com.sample.video                    I  UploadTask - (uploadId: bf960ca0-6831-4b6a-8c88-a5e5bb4bd728) - uploaded 74%, 79466496 of 106283496 bytes
2025-01-28 14:21:17.284  1991-1991  NotificationService     system_server                        E  Muting recently noisy 0|com.sample.video|1234|null|10050
2025-01-28 14:21:17.559  7946-8249  UploadService           com.sample.video                    I  UploadTask - (uploadId: bf960ca0-6831-4b6a-8c88-a5e5bb4bd728) - uploaded 76%, 81494016 of 106283496 bytes
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

No branches or pull requests

1 participant