Skip to content

fix(ios): allow disabling unused background refresh - #402

Open
kamor-famedly wants to merge 1 commit into
Dev-hwang:masterfrom
famedly:fix/ios-background-execution
Open

kamor-famedly wants to merge 1 commit into
Dev-hwang:masterfrom
famedly:fix/ios-background-execution

Conversation

@kamor-famedly

@kamor-famedly kamor-famedly commented Nov 3, 2026 •

Copy link
Copy Markdown

Apps using only the Android foreground service still schedule iOS refresh requests through the plugin's lifecycle callbacks. Add setIosBackgroundRefreshEnabled(false) to cancel pending/running refresh work and prevent rescheduling. The setting persists across launches; existing configured apps retain refresh by default and Android behavior is unchanged.

Also skip registration and scheduling when the refresh identifier is absent from Info.plist, allowing apps to omit unused refresh configuration safely.

Signed-off-by: Khalil <k.amor.extern@famedly.com>
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

Successfully merging this pull request may close these issues.

1 participant