Closed saulogt closed 5 years ago
It seems that I should do it with dryRun
. Does it make sense?
Looks like you are doing it right, I am not entirely sure the throughput issue is related to node-gcm
.
Maybe you are parallelizing the work too much (i.e. too many concurrent calls to checkAndroidDeviceUninstalled()
)?
Make sure you are either executing serially or parallel but with a concurrent thread limit.
It turned out that my app was calling the server back every time it received the notification, regardless of its content.
As I just wanted to check for uninstall, setting dryRun
solved the problem.
Thanks!
Hi, I'm using this library to search for uninstalls of my android app. I noticed that after sending ~10k empty notifications, my server throughput increases substantially causing even some timeouts. I suspect there is a webhook setup somewhere in FCM configuration, but I'm not very familiar with it.
Am I doing it right?
The code looks very simple...