Skip to content

Amplify.Storage does not invoke "resultListener" block while Application is in Background #1762

Closed
@chintan1891

Description

@chintan1891

Describe the bug

I have implemented "Amplify.Storage.uploadFile" for File upload. But if my app goes in background, then my "resultListener" block is not getting called.

Steps To Reproduce

Steps to reproduce the behavior:
1. Implement "Amplify.Storage.uploadFile"
2. Start File Uploading
3. Put Application in Background
4. Check S3 Console, File is not being uploaded there

Expected behavior

File should get uploaded in background

Amplify Framework Version

1.23.0

Amplify Categories

Storage

Dependency manager

Cocoapods

Swift version

5

CLI version

Xcode version

13.3.1

Relevant log output

No response

Is this a regression?

No

Regression additional context

No response

Device

iPhone 7

iOS Version

15.4

Specific to simulators

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

storageIssues related to the Storage category

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions