In iOS,background notifications should be processed every time, regardless the low battery (<20%).
Actual Behaviour
On iOS, i am able to process notification in background ONLY if the battery percentage is greater than 20% . If it's less , i only receive the notification, but it is not processed in background (doesn't matter if the device is being charged or not).
Steps to Reproduce
Battery percentage less than 20% ( doesn't matter if the device is being charged or not).
Send notification to the device with content_available set to true (FCM legacy API).
See if notification is processed in background.
Charge battery more than 20%.
Send notification.
The device should process the notification in background.
Platform and Version
iOS 13.5.1
Cordova CLI version and cordova platform version
cordova --version 9.0.0
cordova platform version ios 5.1.1
xcode 11.3
Expected Behaviour
In iOS,background notifications should be processed every time, regardless the low battery (<20%).
Actual Behaviour
On iOS, i am able to process notification in background ONLY if the battery percentage is greater than 20% . If it's less , i only receive the notification, but it is not processed in background (doesn't matter if the device is being charged or not).
Steps to Reproduce
Platform and Version
iOS 13.5.1
Cordova CLI version and cordova platform version
Plugin version
Sample Push Data Payload
I am using legacy FCM API :
Sample Code that illustrates the problem
code that I use to process notification:
Logs taken while reproducing problem
none