iOS FAQ

Can you read the notification payload information?

For iOS you can send an extra payload alongside an App Inbox message. A payload is any form of string that your app can read in and then use such as an image or extra text.

Badge counts and scheduled notifications?

When a notification is scheduled to deliver at a specific time in the future, the total badge count may be the total count when the notification was scheduled, unless the app has refreshed.

tip

Clearing the application badge number (e.g. setting it to 0) will also remove all delivered notifications. Using ClearBadgeCount to clear badges on launch/activate will set it to -1, keeping the notifications available.

Submitting your app with location to the app store for the first time?

The standard phrasing suggested by Apple for the app description (and in the Apple docs) should be more than sufficient for what you do with OpenBack, which is “Continued use of GPS running in the background can dramatically decrease battery life”.

If there is any lack of clarity or other issues with the app store, here are some further details that can be used.

"Your App uses your location as part of sending local and push notifications to you at the right time.

Specifically the app uses significant changes in background location to enable you to receive notifications like these:

  • Receive notifications when you are near a location with Your App.
  • Receive notifications to use the app if you are in particular countries.

Continued use of GPS running in the background can dramatically decrease battery life.

Your App doesn’t run GPS in the background unless you give us permission by having optional features turned on, and even then only runs this from time to time, which is far better for your battery life than running it all the time.”

Can I manually clear notifications?

Yes, you can manually clear notifications by using the standard APIs on the Apple UNUserNotificationCenter.

Example
let center = UNUserNotificationCenter.current()
center.removeAllDeliveredNotifications()