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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:05:07+00:00 2026-06-02T01:05:07+00:00

I have implemented APNS in my app, and it works during development. After I

  • 0

I have implemented APNS in my app, and it works during development. After I submit to App Store, the pop-up does not show, which is used to ask users to choose if receive APNS or not. Anyone can give any idea?

  • 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-02T01:05:09+00:00Added an answer on June 2, 2026 at 1:05 am

    I would first check that the binary you submitted had push notifications enabled in the entitlements. In iTunes connect view the details for your app’s binary:

    enter image description here

    You should see the aps-environment key with “production” as its value.

    enter image description here

    You can also run the following command in the Terminal to get the information from a .app file on your local machine:

    codesign -d --entitlements - MyApp.app
    

    If the aps-environment key is set to “production”, there is probably nothing wrong with your app in terms of the code. It works in the sandbox environment, so it should work in production (since the code is the same for both). This is assuming your release build is running the same code as your debug build.

    In your code, you should be handling the application:didFailToRegisterForRemoteNotificationsWithError: method and NSLogging any errors. This would let you see errors in your device’s console.

    Since your app is not prompting to enable push notifications, it looks to me like the entitlement is missing. Or push notifications are disabled on the device somehow.

    You should also check that your server (provider) is sending the notifications to the production environment (gateway.push.apple.com), not the sandbox environment (gateway.sandbox.push.apple.com). Although if this was the problem, the app would still prompt the user to allow push notifications.

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

Sidebar

Related Questions

I have implemented the action bar (not the quick action bar) in my app.
I have implemented a REST Webservice which returns (after an authentication via RFC 2617
Have implemented an edit functionality in struts2. After i click submit button, the bean
I have implemented Facebook into my app but now I find that whenever I
i have implemented galleryview in one screen named display_image.xml in which i have shown
I have implemented a test app with Android's In-App Billing. I have filled in
I have implemented a simple chat console app and it worked well. When i
I have implemented C2DM (Android Push Notification) to my app and all is working
I have implemented the apple push notification for development and adhoc testing, it's working
I have implemented ray's awesome tutorials on apns, every thing is working fine, now

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.