Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not receiving notification in ios kill state when battery is 20% or below 20% #1180

Closed
nomanakram199 opened this issue Dec 27, 2024 · 1 comment

Comments

@nomanakram199
Copy link

Hi everyone, I’m using the latest version of Notifee and have tested multiple versions, but I’m encountering the same issue only on iOS. Below is the Postman payload I’m using to send notifications. If anyone has faced a similar issue, please share the solution.

{
"message": {
"token":"",
"data": {
"body": "description",
"title": "Order",
},

"android": {
  "priority": "HIGH"
    },
"apns": {
  "headers": {
    "apns-priority":"10"
        },
  "payload": {
    "aps": {
      "content-available": 1
            }
        }
    }
}

}

@mikehardy
Copy link
Collaborator

You will never reliably receive data-only messages on iOS, battery save mode or low battery is only one condition that will cause non-delivery

If you want reliable delivery you must include a notification block

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants