Open HugoHeneault opened 6 years ago
With high priority notification, the phone should wake up to show the notification.
The notification vibrates and makes sound, but the screen remains off.
priority: "high"
data.priority: 2
Android 7.1
Galaxy S7 edge / HUAWEI P8 Lite 2017
cordova --version 8.0.0 cordova platform version android android 6.3.
cordova plugin version | grep phonegap-plugin-push phonegap-plugin-push 2.1.3 "PushPlugin"
{ to: deviceID, priority: "high", data: { title, message: body, priority: 2, notId, visibility: 1, vibrationPattern: [0, 3000, 500, 3000, 500, 3000], "content-available": 1, "force-start": 1, soundname: "sound", android_channel_id: "call" } }
https://stackoverflow.com/questions/45614065/wake-up-screen-on-notification-recieved
Expected Behaviour
With high priority notification, the phone should wake up to show the notification.
Actual Behaviour
The notification vibrates and makes sound, but the screen remains off.
Reproduce Scenario (including but not limited to)
Steps to Reproduce
priority: "high"
anddata.priority: 2
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 7.1
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Galaxy S7 edge / HUAWEI P8 Lite 2017
Cordova CLI version and cordova platform version
Plugin version
Sample Push Data Payload