Skip to content

Background Task not running untill app came from closed state #640

@kururu-abdo

Description

@kururu-abdo

I have noticed that background task not running until i open app when it closed completely , is this the default behavior or i did thing wrong?
i init work manager in main function then in home screen i call periodic function.

main(){
///init work manager

}

initState(){
// start background process
//background function contains fetch location and HTTP request
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions