Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8441583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:35:56+00:00 2026-06-10T08:35:56+00:00

I haver read this post to: Apple Push Notifications to specific Users I need

  • 0

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!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T08:35:57+00:00Added an answer on June 10, 2026 at 8:35 am

    Developing any level of an APNS can be quite an undertaking unless you have a lot of knowledge into what is involved on both a server side and client side perspective.

    Things to keep in mind:

    1. Server side must take into consideration that device identifiers (tokens) will change on each device if they update or restore their device – or even get a new device!
    2. Client side must take into consideration the delegate methods that must be implemented into the App Delegate to properly accept and handle these push notifications, as well as begin initiating them. (examples follow below).
    3. Server again must realize that you can get your push notification certificate black-listed if you don’t set up a proper “feedback” service. What this does is check if that identifier exists, and if not then you take it out of your database so you don’t continue trying to send push notifications to that user again.
    4. On the server you can either send one notification at a time (with time in between each individual one) or queue them up into a mass amount and “stream” these notifications. Really you MUST follow this or again you can be black-listed and won’t be able to send push notifications to your users again.

    Those 4 points really need to be understood before we begin any undertaking of creating any sort of push notification server.

    id (int)
    token (int - 32 length)
    dateChanged (dateTime)
    

    The three listed fields are really all you need for a basic push notification server. Personal identification in your database, the token for the device entry so you know who will receive the push message, and the dateChanged is optional but good to know how long you’ve had this in your database for.

    Going back to the concept of “streaming” push notifications – you should really look into how to send multiple notifications at once with a basic PHP script (I’ve done an entire server in PHP with less than 100 lines of code, so it can be pretty simple with class based PHP).

    CODE:

    Unfortunately it would take up a lot of space to put all the code necessary for a basic push service but I highly recommend looking into the points I’ve mentioned above as well some pretty amazing tutorials for this task listed below:

    • http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12
    • http://mobile.tutsplus.com/tutorials/iphone/iphone-sdk_apns/
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying so send push notifications ton my iPhone (APNS). I read this post
I have read this post and I wanted to use ControllerExtensions.RedirectToAction method. But I
I have read this question and the simple and clear answer but it's not
I have read this question but it's not quite what I was looking for.
I have this WP Plugin that I want to edit, but I just can't
Okay. I've read this post, and I'm confused on how it applies to my
I have read this post: what happens to NSLog info when running on a
I have the following from the server response: {invalid_emails:[adsasdasd],result:success,valid_emails:[jobs@apple.com]} But this errors? $.ajax({ type:
My questions are at the bottom of this post, if you wish to read
This post will be lengthy and I apologize on beforehand for that. I'm trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.