question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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"
    });
  }

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
esamelsoncommented, May 15, 2018

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

1reaction
esamelsoncommented, May 8, 2018

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android app does not open on tapping notifications appearing ...
However, if a fresh notification appears on top on device screen and the user taps it, it does not open. What could be...
Read more >
NotificationListenerService - Android Developers
Implement this method to learn about when the listener is disconnected from the notification manager.You will not receive any events after this call, ......
Read more >
Control notifications on Android - Google Support
Open your phone's Settings app. · Tap Apps & notifications and then Notifications. · Under "Lock screen," tap Notifications on lock screen or...
Read more >
Notifications on your Apple Watch - Apple Support
Notifications for these apps don't appear on your iPhone. ... Touch and hold the top of the watch face to open Notification Center....
Read more >
Notifications (Fire TV) - Amazon Developer
Fire TV devices support standard Android notifications through the ... your notification can allow the user to launch your app with a deep ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found