Since writing my guide on getting Google Play Services on the Huawei P40 Pro, it has been reported by many users that some push notifications don’t work.
This is also the case for me, but it is only certain apps. I get notifications for things like Telegram, WhatsApp, Facebook, and a few others, but then no notifications from Ring and some other services.
People over at Xda-developers have concluded that the issue is related to apps using GMS for push notifications. Some do, some don’t and the ones that do don’t get push notifications.
There have been a few solutions that partially work, or act as workarounds. I have tried to list this from easiest to more difficult/annoying.
First of all, if you have an app that struggles with notifications, trying disabling the automatic power management within the settings (Settings > Batter > App Launch > Switch to manage manually). This will prevent the software automatically shutting down an app and preventing notifications (I had to do this for lots of apps on the P30 Pro).
That will fix a few issues, but not many.
Blue Mail – For email notifications
Many users are reporting that no email client is working for push notification on any email service with the exception of Blue Mail.
Luckily, this is also one of the best-reviewed email clients, so ditching Gmail in favour for this as your client is advisable regardless.
Autosync Account activator
The next possible solution is with an app called Autosync Account activator. This is on Google Play Store, but I was unable to install it from there on the P40 Pro. So I had to use APKPure.
Within this app, you can basically tell it to do a manual sync, but on schedule. So with my Gmail account, I can set it to every 5 mins
The user that reported this method says the app itself didn’t work, but then uninstalling it, Gmail started to work again suggesting that this 3rd party triggered app the autosync function of Android and solved some issues.
For me, I do get Gmail notifications, though I am not 100% if I had them in the first place, as I am using multiple phones at the moment. There does seem to be a significant delay compared to the P30 Pro, which I am still using.
Notifications pushed through IFTTT to Telegram
Ok, so this is a convoluted process for something that should work by default on your phone. With Telegram working for notifications you can have this as a hub for push notifications.
So, for example, I set up Twitter to push @ mentions to me. You will be restricted to the features IFTTT has, and it is annoying having to set up your notifications manually, but it works well.
I had hoped to use Pushover for this, seeing as that’s what the app is all about, but the notifications don’t work (due to Google). Gotify should work though, but this is dependant on a self-hosted gotify/server.
Push Notification or the PlayStore.
Finally, the last option which appears to be both the most successful and also the least appealing solution.
One user has managed to get all the notifications working, but to do this, you can’t have PlayStore working. They instead manage all their apps through the AuroraStore which you can get on F-Droid.
Fixing the problem is a bit of a chore too.
How to fix push notifications on Huawei P40 Pro
Total Time: 30 minutes
Download Ice Box (developed by Ruoxin He) from the PlayStore. (Or use the one inside the Zip)
Delete the Applications “G”, Google Accounts, Device Info.
Install Minimal ADB on PC
HiSuite must be installed on the PC. You can download it from the official site.
Click 2 times on the arrow in the lower right corner
In the proposed list, select line 3 “Simple ADB”
We connect the Phone to the PC where Minimal ADB and HiSuit are already installed.
Choose “data transfer” on the Popup on your Phone.
Go Settings – About the phone – click on the build number 5 times – see the message You have become a developer.
Next we go settings – System and updates – For developers, search for “USB Debugging” and turn it on. ATTENTION! Hisuit started on the computer and a code appears on the phone, just minimize the window that opens.
On your Phone allow the debugging connection in the popup window.
Launch Minimal ADB on the PC.
At the command prompt, enter: adb shell sh /sdcard/Android/data/com.catchingnow.icebox/files/start.sh
Press Enter. “Success” should appear, if not, then you did something wrong.
In IceBox, double-click on the arrow, then select line 3 “Simple ADB”
Click “GOT IT”, then go to the SYSTEM tab on top. On the Pop up a warning click “GOT IT”. Then tap in the right upper corner on the Search Icon. Search for “FRAME”. Select the Google Services Framework, click Frost in the menu below. Close the application, reboot the device.
After the restart, install the AuroraStore.apk or download it from the official site. It is also on F-Droid
Launch AuroraStore and at startup, be sure to select an anonymous account!
Search for “Push Notification Tester” and install it.
Launch “Push Notification Tester” and press on Start.
If “Register for Push Notification” has a red X, then go into Settings -> Apps -> Search for “google” -> Show System Apps -> Select “Google Service Framework” and hit “Activate”.
Launch “Push Notification Tester” again and press on Start. If it looks like the picture above, then repeat Step 13. – 18.
After restart Launch “Push Notification Tester” and press on Start it should still look like the picture above.
Re-enable Google Play Store
If you decide you want to revert this change it is quite easy and you just need to delete Icebox and go to Settings -> Apps -> Search for “google” -> Show System Apps -> Select “Google Service Framework” and hit “Activate”.