Closed CrackerakiUA closed 4 years ago
Hi @CrackerakiUA, If you could please provide the following information about the device experiencing this issue, that would be great:
1) Device manufacturer 2) Device model name 3) Android OS version
@pushy-me
@pushy-me Pushy working only at background. But if I want to turn off the app the Pushy isn't sending
Chinese-based devices such as Huawei and Xiaomi may not receive notifications after your app is swiped away from the recent apps menu, goes to background, or after a device reboot due to custom power saving features which affect Firebase Cloud Messaging as well.
Most notably, Chinese devices from the following manufacturers include custom power-saving restrictions which may hinder background notification delivery for your app:
Xiaomi Huawei OnePlus Samsung Oppo Vivo Asus Sony Honor
Read more about this issue: https://dontkillmyapp.com/problem
The recommended solution is to instruct the user to whitelist your app from the respective manufacturer's power saving mechanism in the device settings. The instructions for doing this vary from one manufacturer to another.
Another solution that may work in some cases is to implement our FCM Fallback Delivery feature, which may improve delivery rates to some of these devices by attempting to deliver simultaneously through FCM.
We apologize for this inconvenience introduced by Chinese device manufacturers.
@pushy-me can you bring it back? this has nothing to do with devices, on the same device your demo app works correctly and our cordova app is not. Would be nice to have cordova demo app lib
Hi @CrackerakiUA, Sure thing. The issue has been reopened.
We've just published a Cordova demo app: https://github.com/pushy-me/pushy-demo-cordova
Please give it a try and try to reproduce the issue there.
@CrackerakiUA Please let us know if you were able to reproduce the issue in our Cordova demo app. Closing for now.
With latest version of pushy, I have ios release which works smoothly and android which don't receive pushes. Register device works,
Pushy.listen
function exists and called normally. What can we do about that, how can we debug that?