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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:53:36+00:00 2026-06-05T23:53:36+00:00

I am working on an iPhone app with Apple Push Notification integration. I have

  • 0

I am working on an iPhone app with Apple Push Notification integration. I have some doubts on this.

  1. If the user clicked “Dont Allow” button in the APNS registration alert, will our code still receives the Device Token from APNS?

  2. I have tested that when the user switched off the notification in iPhone notification, still the app receives the Device Token from APNS? It is correct?

Can anyone please clarify these doubts?

  • 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-05T23:53:37+00:00Added an answer on June 5, 2026 at 11:53 pm
    1. In my understanding on APNS, it doesn’t depend on the user’s action (as you mentioned that if when the user clicks on “Don’t Allow” button) for your iOS to receive the Device Token.

      If you included in your app:

      - (void)application:didRegisterForRemoteNotificationsWithDeviceToken        
      

      This means that your iOS-based app is sending a request for Push Notification registration. In return, Apple sends the Device Token to the iOS; then the iOS sends the token to the app and then the app sends it to their service provider.

      Note that when the user is asked “Don’t Allow” doesn’t mean that you’re not going to receive the device token. “Don’t Allow” refers to the action to be taken to any notification received by the app that is intended for the user. Say, location. This is a whole different thing. This means that the user doesn’t allow the app to use his/her location.

    2. Yes. it still receives the Device Token as what I have discussed in my answer to your question in #1.
      This is only a setting for your app, which means that you won’t be receiving any visible notification (badge, message or a sound) whenever there are updates about any information in relevance to your application. It’s like setting your Facebook account to only receive notifications when your friends sends you a private message. Other than that, you won’t be notified at all.

      The process of enabling APNS is:

      1. Request for certificate Authority
      2. Create app id
      3. Configuring AppId for Push Notifications
      4. Create provisioning profile
      5. Provisioning a device
      6. Enabling the profile in Xcode
      7. Creating push notification provider.

    For more understanding on APNS, check this out.

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

Sidebar

Related Questions

I have implemented the apple push notification for development and adhoc testing, it's working
I'm working on an iphone app and want to have a page showing multiple
I'm working on an iPhone app that offers the user the opportunity to send
I am working on an iPhone app, in which I have to enlist all
I am currently working on an iPhone app which uses CoreData to save some
I am working on iPhone App similar to Pimp My text available here: http://itunes.apple.com/us/app/pimp-my-text-send-color-text/id489972714?mt=8
I'm working on an iPhone web app where I'm using the apple-mobile-web-app-capable meta tag
Hey, I'm working on an iPhone app but I've heard from some people that
For my iPhone app I'm working on, i want to have the ability to
I have an iPhone app sending notifications and everything is working fine... Except sometimes

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.