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

The Archive Base Latest Questions

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

In my app, i created a develop provision profile with Push Notification enabled, and

  • 0

In my app, i created a develop provision profile with Push Notification enabled, and i put it to work by adding code

[application registerForRemoteNotificationTypes:  UIRemoteNotificationTypeBadge|UIRemoteNotificationTypeAlert];

in my app -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

The push notification works fine. the problem is: for the first time i ran my app on my device, there was supposed to be a alert view to ask the user whether they allow the Push notification or not. But this alert option doesn’t show, i have deleted my app from my iphone and re-installed many times, never had a time show this alert view for the first time running, the app just go straight to register the push notification.

As in the App Review Guideline:
5.3 Apps that send Push Notifications without first obtaining user consent will be rejected.
my app will be rejected due to this issue.

  • 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-11T02:56:37+00:00Added an answer on June 11, 2026 at 2:56 am

    Please check following conditions:

    1. Instead of using “application” you can use “[UIApplication sharedApplication]” in your code.

      For ex:-

      [[UIApplication sharedApplication] registerForRemoteNotificationTypes:
      (UIRemoteNotificationTypeAlert |
      UIRemoteNotificationTypeBadge |
      UIRemoteNotificationTypeSound)];

    2. It usually happens with the apple device’s, if once you click allow for notification confirmation & though you delete the app, next time it won’t ask for the confirmation(not show the notification alert). But this happens only in case of development profile. If you install the app from app-store(which use distribution profile), it will ask the confirmation each time after installation.

    3. Also check the settings of device on which you are testing notifications, the Notification center should be always “ON” for the notifications.

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

Sidebar

Related Questions

Am using php to develop an app and i created a simple template system
I'm using MonoTouch (monoDevelop 2.6) to develop an iPhone app. I've created an iPhone
A few days ago I created a app based on the scroll-view application I
I'm using ASP.NET,C# to develop my web app, I have a button (created as
I use VS2010,C# to develop my ASP.NET web app, I've created an asp.net hyperlink
im develop app with phonegap and create index.html -> html5 and of course use
I need to develop an android app that achieves the following: Create an activity
I use VS2010, C# to develop ASP.NET web app, I create some sessions in
I have an Android app created with Adobe AIR and Flex. How can I
I have a link on my mobile app (created with Sencha Touch 2) with

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.