Hello,
The permission you added is to fetch the data under background mode. Please replace it with the following:
<key>UIBackgroundModes</key>
<array>
<string>remote-notification</string>
</array>
And then, you could also remove the BGTaskSchedulerPermittedIdentifiers
key.
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.