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
It seems that issue #1826 is still reproducible in Release 5.1.26
From the source code investigation, it appears that the OneSignal Android SDK is attached to the consumer’s app activity where the plugin is used. Consequently, managing the activity’s onBackPressed behavior falls outside the plugin’s scope. Furthermore, when the plugin is initialized in a Flutter app, onBackPressed cannot be properly handled to dismiss the In-App Message due to the specific communication mechanisms between Android and Flutter (method channels).
See issue example:
Screen.Recording.2025-01-27.at.11.44.43.mov
Steps to reproduce?
1. Tap on the In-App Message to trigger it.
2. Wait for the popup to be displayed.
3. Close the popup by pressing the Android back button.
4. Attempt to trigger the In-App Message again by tapping on it.
What did you expect to happen?
The In-App Message should open every time it is clicked.
OneSignal Android SDK version
Release 5.1.26
Android version
12
Specific Android models
Relevant log output
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
It seems that issue #1826 is still reproducible in Release 5.1.26
From the source code investigation, it appears that the OneSignal Android SDK is attached to the consumer’s app activity where the plugin is used. Consequently, managing the activity’s
onBackPressed
behavior falls outside the plugin’s scope. Furthermore, when the plugin is initialized in a Flutter app,onBackPressed
cannot be properly handled to dismiss the In-App Message due to the specific communication mechanisms between Android and Flutter (method channels).See issue example:
Screen.Recording.2025-01-27.at.11.44.43.mov
Steps to reproduce?
What did you expect to happen?
The In-App Message should open every time it is clicked.
OneSignal Android SDK version
Release 5.1.26
Android version
12
Specific Android models
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: