We have implemented Pushy Notifications For our android Application in china.. it is working fine if app is in foreground or background. but when we remove our application from the stack, we cannot receive any notifications..This is only happening when we use Android Phones of China.. please help me out for this case.. Many thanks in advance.
Pushy Notifications not working if Android Application is not in stack in china Android Phones
2.2k Views Asked by Gaurav At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in PUSH-NOTIFICATION
- Android: Transferring Data via ContentIntent
- Android Status Bar Icon Size - Using Cordova / Phonegap Push Plugin
- Parse.com - setting up push notifications for single users
- Android Push Notification - Parsing JSON Notification tag name to get raw file (Resource Id or Uri)
- Notification using setFullScreenIntent() for BigTextStyle opening Activity automatically
- Xiaomi does not receive a notification when the application is not running
- Is it possible to send push notifications as per user preference(Time) from parse?
- Cancel pending push notification
- GCM set expiration date for push notifications
- JPush works all over the world?
- Allow user to select notification sound in iOS Notification Settings
- Ios Push notifications not working. (Google play games unity plugin)
- Push notifications that trigger a background refresh before showing the push notification VS silent push
- JavaPNS NoClassDefFoundError
- p12 certificate is always incorrect at Pushwoosh
Related Questions in PUSHY
- PushyNetworkException thrown on Pushy.Register
- iPhone Pass push notifications not received if sent when phone is switched off
- PUSHY APNS - AnnotatedSocketException: Network is unreachable: api.sandbox.push.apple.com/2620
- How pushy.me service work on android? How is continuous delivery of notifications ensured?
- After how many days will APNS mark a device as inactive?
- Flutter Global Function update Stateful Widget State
- How to get better understanding of error in order to fix
- Flutter push notification when app is closed
- APNS Token based authentication with multiple servers
- Error while connecting to APNS (https://api.development.push.apple.com/)
- Pushy.me: How to unregister from push notification in react native?
- App crashing on android 8 to 12 due to java.lang.NoClassDefFoundError
- Pushy Notifications not working if Android Application is not in stack in china Android Phones
- How to handle multi user scenario with Pushy web push notifications?
- Java APNs library with FCM support
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Chinese-manufacturer 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
In order to receive notifications in the background on these devices, there are two options:
If the affected devices are not within mainland China, we recommend implementing FCM high priority fallback delivery. This is proven to work around several of these manufacturers' custom power saving mechanisms (Xiaomi, OnePlus, and more), by having Pushy deliver your notifications through MQTT and Firebase Cloud Messaging's high-priority channel simultaneously, while only waking up your app once.
Display a dialog asking your users to whitelist your app from the respective manufacturer's power saving mechanism, within the device settings. The steps for achieving this are different for each manufacturer.
More info about this issue:
https://dontkillmyapp.com/