I send localized push notification from API.
{
"id": "234",
"url": "https://...",
"aps": {
"alert": {
"loc-key": "pushNotificationVoteKey",
"loc-args": ["Jack", "5"]
}
}
}
And app receives push with title "Jack has got 5 points
", but when Jack will get 1 point push notification will be the same "*Jack has got 1 points
" except of "Jack has got 1 point
"
Any chances pluralize background push notifications with .stringdict
or any other ways to do it on mobile side?