[ ] I've checked the example to reproduce the issue.
Reproduced on:
[x] Android
[ ] iOS
Description
For some devices backToForeground method doesn't wake up the phone, when it's locked, I'm getting a push notification and then I'm trying to call the backToForeground and displayIncominCall method, but nothing happens, this problem is mostly observed on the Samsung devices with the latest version.
Unfortunately I don't have the device to reproduce it (but I've tested on device with Android v9 - Redme Note 6, Galaxy J7 and it works perfectly; In additional the strange thing is if plug in the phone to the charge - it starts working I was thinking about Doze mode (https://developer.android.com/training/monitoring-device-state/doze-standby), and I gave user to accept ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS, but it doesn't help. I was thinking about this issue https://github.com/react-native-webrtc/react-native-callkeep/issues/667, and tried the same solution, but it doesn't help as well, I'm not familiar with Android, and probably I did something in the wrong way:
If you have some thought what can help or need more details, please let me know. Want to understand a root cause, thanks;
By the way, I don't use self mode, and there is manifest
Bug report
[ ] I've checked the example to reproduce the issue.
Reproduced on:
Description
For some devices
backToForeground
method doesn't wake up the phone, when it's locked, I'm getting a push notification and then I'm trying to call thebackToForeground
anddisplayIncominCall
method, but nothing happens, this problem is mostly observed on the Samsung devices with the latest version. Unfortunately I don't have the device to reproduce it (but I've tested on device with Android v9 - Redme Note 6, Galaxy J7 and it works perfectly; In additional the strange thing is if plug in the phone to the charge - it starts working I was thinking about Doze mode (https://developer.android.com/training/monitoring-device-state/doze-standby), and I gave user to accept ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS, but it doesn't help. I was thinking about this issue https://github.com/react-native-webrtc/react-native-callkeep/issues/667, and tried the same solution, but it doesn't help as well, I'm not familiar with Android, and probably I did something in the wrong way:If you have some thought what can help or need more details, please let me know. Want to understand a root cause, thanks; By the way, I don't use self mode, and there is manifest
Steps to Reproduce
Versions
Logs