Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification Disappears when Android Close Recent Apps #272

Open
MiguelQueiroz opened this issue Jun 26, 2024 · 0 comments
Open

Notification Disappears when Android Close Recent Apps #272

MiguelQueiroz opened this issue Jun 26, 2024 · 0 comments

Comments

@MiguelQueiroz
Copy link

Bug Report

The push notification are cleared in Android, when using the wipe recent apps. Although wiping recent apps does not impact receiving new push notifications, as they appear again. Example in Xiaomi MIUI 12.5.1.0 - Android 11 phone, is I press the "square touchable button" to show recent apps, and press the "close all" to wipe them (even if my app is not there listed), it clears memory and other apps and the notification also disappears. BUT I see other notifications from other apps do not disappear...
My notifications are using the ongoing and they should stuck to the notification shade.

What could be doing this?

Expected Behaviour

Even after wiping recent apps, the push should be kept on the notification shade.

Actual Behaviour

The notifications are removed when using wiping recent apps.

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

Android 11

(Android) Device Vendor (e.g. Samsung, HTC, Sony...)

Xiaomi

cordova info Printout

Cordova Packages:

cli: 12.0.0
    common: 5.0.0
    create: 5.0.0
    lib: 12.0.1
        common: 5.0.0
        fetch: 4.0.0
        serve: 4.0.1

Project Installed Platforms:

android: 12.0.1
ios: 7.0.1

Project Installed Plugins:

@havesource/cordova-plugin-push: 4.0.0
cordova-plugin-android-dark-mode-support: 2.0.0
cordova-plugin-device: 2.1.0
cordova-plugin-inappbrowser: 5.0.0
cordova-plugin-sms-retriever: 2.0.1
cordova-plugin-statusbar: 4.0.0
cordova-plugin-update-notifier: 3.0.0

Environment:

OS: Microsoft Windows 10 Pro 10.0.19045 (19045) (Windows 10.0.19045) x64
Node: v20.10.0
npm: 8.19.0

android Environment:

android:

[=======================================] 100% Fetch remote repository...
Available Android targets:

id: 1 or "android-33"
Name: Android API 33, extension level 3
Type: Platform
API level: 33
Revision: 3

id: 2 or "android-34"
Name: Android API 34, extension level 7
Type: Platform
API level: 34
Revision: 2

package.json:

--- Start of Cordova JSON Snippet ---
{
"plugins": {
"cordova-plugin-device": {},
"cordova-plugin-sms-retriever": {
"PLAY_SERVICES_VERSION": "15.0.0"
},
"@havesource/cordova-plugin-push": {
"ANDROIDX_CORE_VERSION": "1.6.+",
"FCM_VERSION": "23.+"
},
"cordova-plugin-android-dark-mode-support": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-update-notifier": {
"ANDROIDX_MATERIAL_DESIGN_VERSION": "[1.0,2)",
"PLAY_APP_UPDATE_SDK_VERSION": "[2.0,3)"
}
},
"platforms": [
"android",
"ios"
]
}
--- End of Cordova JSON Snippet ---

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant