Docs for setting badge number in local notifications?

I’m trying to set a badge number for a local notification in iOS. This was previously discussed in Set Badge Number in Local Notification? and the proposed solution was:

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

But I don’t see any documentation for {count : 1} anywhere in https://docs.expo.io/versions/latest/sdk/notifications/ or src/Notifications/Notifications.ts.

Could someone confirm whether this is still possible? Happy to send a PR to update docs, etc. if there is a solution.

@izhan, if you can test that out with a Snack and show it works, we’d love a docs a PR! :tada:

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