I haver read this post to:
Apple Push Notifications to specific Users
I need to send push to specific devices, but my problem is that users that log into my app, are identified by a generated UDID, not using the deprecated UIDevice. I see that easyAPNS stores this values into the MySQL:
CREATE TABLE `apns_device_history` (
2
`pid` int(9) unsigned NOT NULL auto_increment,
3
`appname` varchar(255) NOT NULL,
4
`appversion` varchar(25) default NULL,
5
`deviceuid` char(40) NOT NULL,
6
`devicetoken` char(64) NOT NULL,
7
`devicename` varchar(255) NOT NULL,
8
`devicemodel` varchar(100) NOT NULL,
9
`deviceversion` varchar(25) NOT NULL,
I don't know how to link registered app users with this table, in order to achieve to send push to specific user. Is it possible to get by code user pid or device token?
Many thanks!