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 8201273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:45:09+00:00 2026-06-07T06:45:09+00:00

I am providing APNS in iOS and everything is working well , the problem

  • 0

I am providing APNS in iOS and everything is working well , the problem it is each time I run the app it gives me the device token and then store it in MYSQL database.

my question , is this going to be same after I distribute the app in apple store , am I going to receive the device token each time the app being lunched from users ?

other question , If the app is ready to be distributed , do I have to change the Development Push SSL Certificate ? if yes , is it the same steps ?

  • 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-07T06:45:11+00:00Added an answer on June 7, 2026 at 6:45 am

    The device token is registered every time the application is launched, so yes you will receive their device token every launch if it’s sent to your MySQL database in your didRegisterForRemoteNotificationsWithDeviceToken method. This is important because if the user deletes the app/disables push notifications for that app, after a certain amount of unsuccessful attempts to send them a Push notification, you can then mark that device token ‘inactive’ and remove it from the database. (Urban Airship helps with this and all other Push functions, worth a look if you have more troubles with your current implementation.)

    Ensure you’re using an UPDATE or equivalent command in your MySQL database, so that the same token isn’t adding multiple times to the table and filling it up. Alternatively you could make the Device Token field Primary so that attempting to add the same token more than once would fail, but that’s messier.

    As for the Development Push Certificate, yes, you’ll have to change it to the production certificate. The Dev certificate only allows you to connect to Apple’s sandbox APNS server for testing and debugging. Before submission to the App Store, you have to change to the production certificate that uses the live servers. The process is similar, you go into the App IDs section of your Provisioning Portal, and in the Configure section of that app you configure and download the Production Push certificate in the same way you did for the Development one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

if we are providing a seperate printer friendly page for each page of site
Preface We are providing customers with our service API. Each customer has own subdomain
We're providing a client jar for other internal apps to connect to our app's
I am working on providing a generic JSON serialiation/deserialization service as a WCF service.
I am working on providing PhoneGap functionality in a UIWebView in MonoTouch. I have
I created Plugin for providing access to my Frameworks objects. Objects are working good
My client is providing me with two precompiled libraries, blah-device.a and blah-simulator.a. How do
I'm providing a backlink selling service, but I have problem while checking the sold
I am providing search functionality in my website, when user searches a record then
Providing design-time data for DataContext is easy with use of d:DataContext but what about

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.