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:
Jose Olarte III
2026-01-28 20:20:01 +08:00
parent 88f69054f4
commit fb4ea08f3c

View File

@@ -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>