Backgrounding implementation on sdk and app side