getting and setting badge counts

I’m assuming I’m doing something wrong, but I can’t get Notifications.getBadgeCountAsync or setBadgeCountAsync to work. Push notifications are showing, but when I run the code below I assume I’ll get a number. However,

useEffect(() => {

        const badges = Notifications.getBadgeCountAsync()
        console.log('badges: ', badges);


badges:  Promise {
  "_U": 0,
  "_V": 0,
  "_W": null,
  "_X": null,

Notifications.dismissAllNotificationsAsync() doesn’t clear the badge from Expo on the home screen either, so I’m guessing that’s related. Any help is greatly appreciated!