Page 1 of 1

Number of registered devices does not correspond to Google statistics

Posted: Mon Apr 14, 2014 4:40 pm
by Anton6737105

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)?


Number of registered devices does not correspond to Google statistics

Posted: Mon Apr 14, 2014 7:37 pm
by Maryna Brodina

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


Number of registered devices does not correspond to Google statistics

Posted: Tue Apr 15, 2014 5:22 pm
by Anton6737105

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)?


Number of registered devices does not correspond to Google statistics

Posted: Wed Apr 16, 2014 2:43 am
by Alena Prykhodko

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?