Set Badge Number in Local Notification?

Is it possible to set the iOS badge number in a local notification?

In the expo docs I see it can be set in a remote push notification, but I couldn’t find if it was possible in a local notification.


I figured it out, maybe helpful for others:

await Notifications.scheduleLocalNotificationAsync({
  title: '...',
  body: '...',
  ios: {count: 1},
}, {
  time: ...

Glad you got it sorted!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.