Tapping push notification on Android does not launch the app

SDK Version: 45
Platforms: Android

I created a barebones app, using the example code provided here.

The push token is registered without issue, and I can successfully send notifications from within the app, as well as via the expo tool. The issue is, tapping the notification does not launch the app, or bring it to the foreground. The notification tray closes, but that’s it.

Interestingly, the code for listening on notifications, is in fact executed:

Notifications.addNotificationResponseReceivedListener(response => {
    console.log(response);
});

I can see the response being logged. But the app is not brought to the foreground, or rendered. Video here.

In IOS, tapping the notification opens the (Expo Go) app in the foreground, as expected.

This is a known problem: Notifications don't open app since SDK45 (Android) · Issue #17531 · expo/expo · GitHub
(you can help by commenting and adding a :+1: reaction on github)

1 Like

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