Anton6737105
Posts: 0
Joined: Sat Mar 15, 2014 7:22 pm

Number of registered devices does not correspond to Google statistics

Number of "Selected recipients" for push notifications is more then twice more than number of active devices in Google statistics.
1) Is it normal?
2) What if I purge the database? Will devices reappear in it on application restart?
3) What's the best practice to check push notifications (for example how to identify own device to send the notification to it only)?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Number of registered devices does not correspond to Google statistics

Hello!

1) Could you clarify address where you get such Google statistics and provide us absolute figures from database and Google statistics.
2) If you purge the devices in database they will appear again after launch on the devices. You can check it with your device.
How to get id device from device http://docs.appery.io/documentation/b...
3) http://docs.appery.io/documentation/b... - different ways to send notifications

Anton6737105
Posts: 0
Joined: Sat Mar 15, 2014 7:22 pm

Number of registered devices does not correspond to Google statistics

Thank you Marina!
Regarding #1:

http://cdn.r-as.ru/upload/Skitch/Стат...
(installed on 25 devices)

Selected recipients for push notification: 66
http://cdn.r-as.ru/upload/Skitch/Appe...

Does it mean it will try to send a notification for all uninstalled devices as well?
Should I purge the database periodically? Is there a kind of standard procedure to remove devices which were not active for 30 days?
Or I should not care about it at all (as I'm not going to achieve a month quota soon)?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Number of registered devices does not correspond to Google statistics

Hi Anton.

DeviceID is unique for every device.

So if you delete items in the devices collection and start application - it will create the same deviceID item.

Yes, you can delete unused device if you don't need data for this device.

You can use for this goals server code and jobs. http://prntscr.com/3af2rr/direct

I guess google counting only ACTIVE(online) devices. "Installed active" and "installed" devices - different things. http://prntscr.com/3af35m/direct

Also may be you have an IOS app?

Return to “Issues”