You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When app gets silent push notification ("aps": {
"content-available": 1
},), then i see logs:
-BackgroundFetch AppDelegate received fetch event
-[TSBackgroundFetch performFetchWithCompletionHandler]
-[TSBackgroundFetch scheduleBGAppRefresh] com.transistorsoft.fetch
-[TSBackgroundFetch] BGTaskScheduler failed to register fetch-task and will fall-back to old API. This is likely due to running in the iOS Simulator (Error Domain=BGTaskSchedulerErrorDomain Code=1 "(null)")
And my method didReceiveRemoteNotification is not called.
Now I use this plugin only for android, but issue is getting on iOS.
If i remove plugin method is called
Steps to Reproduce
install plugin
put breakpoint on didReceiveRemoteNotification method
send silent push notification to your device
make sure that the method is not called
Context
Debug logs
Logs
BackgroundFetch AppDelegate received fetch event
[TSBackgroundFetch performFetchWithCompletionHandler]
[TSBackgroundFetch scheduleBGAppRefresh] com.transistorsoft.fetch
[TSBackgroundFetch] BGTaskScheduler failed to register fetch-task and will fall-back to old API. This is likely due to running in the iOS Simulator (Error Domain=BGTaskSchedulerErrorDomain Code=1 "(null)")
The text was updated successfully, but these errors were encountered:
Your Environment
flutter doctor
):no config on iOS
Expected Behavior
Plugin do not block silent notifications in method:
Actual Behavior
When app gets silent push notification ("aps": {
"content-available": 1
},), then i see logs:
-BackgroundFetch AppDelegate received fetch event
-[TSBackgroundFetch performFetchWithCompletionHandler]
-[TSBackgroundFetch scheduleBGAppRefresh] com.transistorsoft.fetch
-[TSBackgroundFetch] BGTaskScheduler failed to register fetch-task and will fall-back to old API. This is likely due to running in the iOS Simulator (Error Domain=BGTaskSchedulerErrorDomain Code=1 "(null)")
And my method didReceiveRemoteNotification is not called.
Now I use this plugin only for android, but issue is getting on iOS.
If i remove plugin method is called
Steps to Reproduce
Context
Debug logs
Logs
The text was updated successfully, but these errors were encountered: