Expo Notification suddenly stopped working

Please provide the following:

  1. SDK Version: 37.0.8
  2. Platforms(Android/iOS/web/all): Android/iOS

Hi Guys,

Currently I am encountering a problem with EXPO Notifications. It was working fine for the past year and a half and now I am not getting any.
Tried with 4 different devices (both Android and iOS).
I am getting a token and the api responds with status: ok, but no notifications come into the device.
I’ve already reuploaded the fcmApiKey but still no progress.

Any help would be great!
Update: iOS works, but android doesnt.

Thanks!
-Ken

hey! you’re probably checking the push ticket, but the push receipt will have more info on the error (and if you scroll down in that documentation page, it says how to handle the most common errors)

Hi Charlie,

This is what I got in the push receipt:

Update:

Got it working again. Here’s what I did:

Originally the code below was placed right after
this._notificationSubscription = Notifications.addListener(this._handleNotification);

I transferred it to go right after
let token = await Notifications.getExpoPushTokenAsync();

    if (Platform.OS === 'android') {
        Notifications.createChannelAndroidAsync('reminders', {
            name: 'reminders',
            priority: 'max',
            // vibrate: [0, 250, 250, 250],
            sound: true
        });
    }

I don’t know why it was working properly before but this did the trick.

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