You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a project built with GetX and use OneSignal for notifications. There is a chat feature in the app and when user clicks on a “new message” notification, we’d like to navigate him/her to the related chat screen. However, the setNotificationOpenedHandler method, which is used to capture the additionalData property inside the notifications, is not fired in any way.
There is no any problem with notifications but we couldn’t catch any data while receiving. We tried with iOS real device both debug and release mode and our Flutter version is 3.3.4.
OneSignal package: onesignal_flutter: ^3.4.1
Do you have any idea?
[✓] Flutter (Channel stable, 3.3.4, on macOS 12.5 21G72 darwin-arm, locale tr-TR)
• Flutter version 3.3.4 on channel stable at /Users/XXXXXX/Development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision eb6d86ee27 (9 weeks ago), 2022-10-04 22:31:45 -0700
• Engine revision c08d7d5efc
• Dart version 2.18.2
• DevTools version 2.15.0
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14A400
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[✓] VS Code (version 1.73.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.54.0
[✓] HTTP Host Availability
• All required HTTP hosts are available
Thanks in advance.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
I am also seeing issues with this, but see that there are also several other related issues in this repo that have been opened/closed over the years. For me, this callback works properly when the app is in the background. But if the app is terminated, then it will not fire when the app launches (on iOS). Currently trying to find a workaround.
How can we help?
We have a project built with GetX and use OneSignal for notifications. There is a chat feature in the app and when user clicks on a “new message” notification, we’d like to navigate him/her to the related chat screen. However, the setNotificationOpenedHandler method, which is used to capture the additionalData property inside the notifications, is not fired in any way.
There is no any problem with notifications but we couldn’t catch any data while receiving. We tried with iOS real device both debug and release mode and our Flutter version is 3.3.4.
OneSignal package: onesignal_flutter: ^3.4.1
Do you have any idea?
Thanks in advance.
Code of Conduct
The text was updated successfully, but these errors were encountered: