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

[Feature request]: iOS backgroundRefreshStatus #1174

Closed
2 of 4 tasks
absar opened this issue Sep 28, 2023 · 3 comments · Fixed by #1176
Closed
2 of 4 tasks

[Feature request]: iOS backgroundRefreshStatus #1174

absar opened this issue Sep 28, 2023 · 3 comments · Fixed by #1176
Labels
P2 Important issues not at the top of the work list. platform: ios Issue is related to the iOS platform type: enhancement New feature or request

Comments

@absar
Copy link

absar commented Sep 28, 2023

Is there already an issue requesting this feature?

Please select affected platform(s)

  • Android
  • iOS
  • Windows

Use case

On iOS users can disable Background App Refresh permission backgroundRefreshStatus, due to which background tasks cannot run if user has disabled the permission.
Background tasks are all types of tasks like Background Fetch, BGAppRefreshTask, BGProcessingTask, if the permission is disabled Apps cannot run tasks like daily maintenance, backups, background data processing, or periodic refreshes from server etc

Background App Refresh permission:
image

Proposal

A new permission handler should be created to get backgroundRefreshStatus so that Apps would be able to check and prompt the user to enabled Background App Refresh in App settings

Specific requirements or considerations

No response

Additional information or context

No response

@tony-ditchlabs
Copy link

Looks like the background_refresh_status package can be used as a stopgap, but yes, would much prefer using this package exclusively.

@ened
Copy link
Contributor

ened commented Feb 26, 2024

@mvanbeusekom this ticket should be closed

@mvanbeusekom
Copy link
Member

Closing this issue as checking the backgroundRefreshStatus is supported since version 11.3.0 of the permission_handler plugin. Thanks @ened for the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Important issues not at the top of the work list. platform: ios Issue is related to the iOS platform type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants