fix(ios): add missing background task identifiers for daily notification plugin
Add com.timesafari.dailynotification.fetch and com.timesafari.dailynotification.notify to BGTaskSchedulerPermittedIdentifiers in Info.plist to resolve registration rejection errors. The plugin was attempting to register these identifiers but they were not declared in the app's Info.plist, causing iOS to reject the background task registrations. Fixes Xcode log errors: - Registration rejected; com.timesafari.dailynotification.fetch is not advertised - Registration rejected; com.timesafari.dailynotification.notify is not advertised
This commit is contained in:
@@ -65,6 +65,8 @@
|
|||||||
</array>
|
</array>
|
||||||
<key>BGTaskSchedulerPermittedIdentifiers</key>
|
<key>BGTaskSchedulerPermittedIdentifiers</key>
|
||||||
<array>
|
<array>
|
||||||
|
<string>com.timesafari.dailynotification.fetch</string>
|
||||||
|
<string>com.timesafari.dailynotification.notify</string>
|
||||||
<string>com.timesafari.dailynotification.content-fetch</string>
|
<string>com.timesafari.dailynotification.content-fetch</string>
|
||||||
<string>com.timesafari.dailynotification.notification-delivery</string>
|
<string>com.timesafari.dailynotification.notification-delivery</string>
|
||||||
</array>
|
</array>
|
||||||
|
|||||||
Reference in New Issue
Block a user