Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Not receiving callbacks in 'Refreshing and Maintaining Your App Using Background Tasks' #392

@jithinmadathil07

Description

@jithinmadathil07

Regarding - https://github.com/xamarin/ios-samples/tree/master/ios13/RefreshingAndMaintainingYourAppUsingBackgroundTasks

I have tried to run xamarin 'Refreshing and Maintaining Your App Using Background Tasks' sample on iphone7(iOS 13.2) using VS2019 for mac. But I am not getting any callback for BGAppRefreshTask or BGProcessingTask in background.

I have enabled UIbackground modes in Info.plist(fetch and processing).
Added BGTaskSchedulerPermittedIdentifiers key and uniques task ids to Info.plist
Tried diffrent EarliestBeginDate intervals(5,15,30 minutes).Used local notification to show the callback.

I tried with native swift sample code also.There I was able to receive the callbacks.

So do I need to add anything else for getting callback in xamarin?

Configuration
OS:Catalina 10.15
iphone version:iphone 7(iOS 13.2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions