expo: On detached Android apps, touching a notification does not open the app

Environment

Steps to Reproduce

(Write your steps here:)

  1. create detach app
  2. send local notification (presentLocalNotificationAsync or scheduleLocalNotificationAsync)
  3. select (tap) notification

Expected Behavior

Launch the APP

Actual Behavior

nothing

Reproducible Demo

componentWillMount(){
    this.notifi = Expo.Notifications.addListener(this.onNotification);
  }

  componentWillUnmount(){
    this.notifi.remove(this.onNotification);
  }

  onNotification(){
    console.log("Notification");
  }

  sendNotifi(){
    Expo.Notifications.presentLocalNotificationAsync({
      title: "Local notification",
      body: "condenido de la notificacion"
    });
  }

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 22 (8 by maintainers)

Most upvoted comments

Sorry, scratch that – the minor release just went out now, so this should be fixed if you update to the latest ExpoKit. You’ll also need to make the two changes specified here to your AndroidManifest.xml. @alanlanglois

@alanlanglois please watch our blog – we hope to announce the minor release in the next week or so.

Hi @alanlanglois et al – really sorry for the lack of traction on this issue. I’ve started to dig into this and have a branch with some progress, but it turns out to be a rather wide-reaching problem, so I don’t think it will make it into the initial SDK 27 release, unfortunately. Will keep working on it and keep you updated when I find a fix.

Hi @alanlanglois - no further updates as of now, other than we’re aware of the issue and hope to get to it as soon as we can. So sorry for any inconvenience it’s causing you.