Android event on click grouped notifications
See original GitHub issueBug
When I click on the notification group, the application opens without any event but when I am clicking on single notification does it works, example in the video below
Environment info
react-native info
output:
// paste it here
System:
OS: macOS 10.15.3
CPU: (6) x64 Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz
Memory: 19.61 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.13.1 - /usr/local/bin/node
Yarn: Not Found
npm: 6.12.1 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.8.4 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 26, 27, 28, 29
Build Tools: 28.0.3, 29.0.2, 30.0.0
System Images: android-24 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-R | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 3.6 AI-192.7142.36.36.6241897
Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_231 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
*react-native*: Not Found
Library version: x.x.x
Steps To Reproduce
- Call local notification four times, and wait few seconds until it will be grouped
- Click on group of notifications like on video
Describe what you expected to happen:
- When I click on group it should be call any of event to make screen changes in my app
Reproducible sample code
Sample code is example attached to this repo, I’ve only changed method to call local notification:
localNotif(soundName) {
PushNotification.localNotification({
title: 'Local Notification', // (optional)
message: 'My Notification Message', // (required)
});
}
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
How to detect that a notification bundle/group was clicked in ...
When you click grouped notifications in Android, notifications won't be dismissed. Therefore, you can check size of active notifications in ...
Read more >Create a Group of Notifications - Android Developers
Starting in Android 7.0 (API level 24), you can choose to display related notifications in a group (previously called "bundled" ...
Read more >Start an Activity from a Notification - Android Developers
Start an Activity from a Notification · On this page · Set up a regular activity PendingIntent. Define your app's Activity hierarchy; Build...
Read more >Notifications Overview | Android Developers
A notification group allows you to collapse multiple notifications into just one post in the notification drawer, with a summary. The user can...
Read more >Create a Notification - Android Developers
Notifications provide short, timely information about events in your app while ... you'll learn how to create a notification that the user can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello @Dallas62,
Thank You for Your response. Here is sample repository https://github.com/sebastianor/react-native-local-push-sample. When You will run this project just press minimum five times "Local Notification (now) " button and wait until all of them disappear. I’ve testing it on Android Emulator API level 27
Hi @dqhung311 See the latest comment.