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.

[Android] When app is in background, userInteraction keeps in 'false'

See original GitHub issue

Hi, In Android, when the app is in background and we receive a push, if the user touch the notification window userInteraction flag keeps in ‘false’, so we can’t handle this correctly (we have several ways to manage push according to ‘types’, we are receive this ok).

This works well on iOS. I’m using react-native-push-notification 2.2.1 and react-native 0.37.

Did anyone have the same issue?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:8

github_iconTop GitHub Comments

1reaction
fbazzanacommented, Oct 26, 2017

Same again with react-native-push-notification 3.0.1 and react-native 0.49

0reactions
github-actions[bot]commented, Apr 17, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Run Android app in background without user interaction
I have an android app which keeps updating logs every 5 minutes. I used Alarm Manager to achieve this. But the app kept...
Read more >
Services overview | Android Developers
A Service is an application component that can perform long-running operations in the background. It does not provide a user interface.
Read more >
Activity state changes - Android Developers
If an app is in the background and the system needs to free up additional memory for a foreground app, the background app...
Read more >
Input events overview - Android Developers
An event listener is an interface in the View class that contains a single callback method. These methods will be called by the...
Read more >
Tasks and the back stack - Android Developers
Two tasks: Task B receives user interaction in the foreground, ... The same holds true for Android apps running on Chromebooks: the system ......
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