Snack in push notifications doc broken for iOS?

Hi,

I was just getting into the documentation for push notifications at https://docs.expo.io/versions/latest/guides/push-notifications/.

I ran the snack (https://snack.expo.io/@charliecruzan/pushnotifications34?platform=ios) on my device and after pressing ‘Press to Send Notification’ nothing happened.

My notifications for Expo are enabled.

I am on an iPhone XR running version 12.3.1. Is the snack broken?

Hey @tyleralbee,

It wasn’t broken but the implementation had it where you had to copy your token and set it to the YOUR_PUSH_TOKEN variable. Cruzan has updated it now so it’s all handled in state. It should work now for you without any additional effort.

Cheers,
Adam

1 Like

Thanks for the quick update!