2

I'm using UILocalNotification in my app but it got rejected because I wasn't asking for users consent.

"5.3: Apps that send Push Notifications without first obtaining user consent will be rejected"

I've seen plenty of apps not asking user. I thought this was only needed for remote push notifications?

  • What does your local notification do? – dgund Jun 04 '12 at 00:21
  • Try look at this http://stackoverflow.com/questions/10191006/objective-c-detect-when-user-change-the-apps-notifications-settings Hope will be a useful – CReaTuS Jun 04 '12 at 00:48
  • That Technical Note TN2265 seems to be referring to remote notifications. If I do need to have dialog box popup to get users consent, how do I do this with Local Notifications? I thought iOS handles all this? – user1434087 Jun 04 '12 at 12:02

2 Answers2

0

That is very odd. I would appeal the rejection and remind them that you aren't using push notifications. Also, double-check your code to make sure that you didn't reference any push notifications then forgot about them.

William LeGate
  • 540
  • 7
  • 18
0

This does not break any Apple regulations. I can only imagine two reasons:

  1. It was an error by Apple.

  2. Your Local Notification is specifically doing something that the user should be approving. EDIT: Now that I know what they do, just make sure that you tell your user that you will be alerted once a week. Perhaps even make them agree to it first (ex. an option for them to check off in settings). Although not telling them should still be within the rules, it makes sure that there is no reason for Apple to reject it.

Either way, you should definately appeal the rejection with Apple and remind them that you are using Local Notifications, not Push Notifications.

dgund
  • 3,459
  • 4
  • 39
  • 64
  • 1
    I just remind user once a week .."Practice makes perfect!"..my app is an educational app. I'm basically using this code: http://stackoverflow.com/questions/8713110/iphone-local-notification-at-particular-time – user1434087 Jun 04 '12 at 08:26
  • Just make sure that you tell your user that you will be alerted once a week. Although not telling them should still be within the rules, it makes sure that there is no reason for Apple to reject it. And either way, appeal it. – dgund Jun 04 '12 at 19:12
  • No response from Apple so I've decided to remove all. Even though I ripped out all the code and rebooted device, app is still appearing in the Notifications settings "In Notification Center". How is this possible? Im using iOS 5.0 and 5.1 hardware devices. – user1434087 Jun 05 '12 at 17:28
  • I also tried adding [[UIApplication sharedApplication] cancelAllLocalNotifications]; still no luck removing notifications. I'm losing my mind on this. – user1434087 Jun 05 '12 at 17:30
  • Try "Clean"ing your app. It's under Product > Clean – dgund Jun 05 '12 at 18:58