App publication

App publication

If your application needs to use the service in background mode, you must follow a few rules to avoid a rejection of your application on AppStore.

Basic rule

  • Apple only accepts applications that use background modes when it is justified.

 

Example use case: Meet my friend

———————————-

Our application uses bluetooth and the location in background for main functionalities, “Meet my friend”.

We start localisation when the user enters in the commercial center thanks to an beacon alert then we localise him with BLE technology.

The user continues to post his position in the background so his friends can meet him.

It improves the user experience for shopping session and adds a social dimension to our commercial center.

Best Regards

 

Example use case: SmartPark

—————————-

Use case that require background location:

Our application uses bluetooth and the background location to enable the smartPark feature.

The carpark of our mall contains several bluetooth beacons (ibeacon) configured with the same service uuid.

When user enters the carpark, the application is woken up with the ibeacon API, but we need to keep the application running in background to continue calculating the car position in real time (using startUpdatingLocation/StartRangingBeaconsInRegion) until the car is parked.

The time required to park is well above 10 seconds.

This improves the user experience and allows the user to find his car by following route on a map proposed by the application.

 

For the case of our NAO SDK, it is the background mode “location” that must be used by applications.

The main Rules

  • The end user must have a clear interest in keeping this mode.
  • The end user should also have an easy way to refuse this type of service (Do not forget to implement the necessary permissions in the info.plist file)
  • The power consumption and performance implications of your application. So it will be necessary to add the following disclamers in the description of the app on App Store:
  1. Continued use of GPS running in the background can dramatically decrease battery life.
  2. Continued use of Bluetooth Low Energy running in the background can dramatically decrease battery life.

Warning

If you plan to use the background mode, without asking the user, and without interest for user, your application will be certainly rejected.

    • Related Articles

    • NAO Track configuration publication

      After the NAO Cloud configuration has been updated, a publication is required before the changes are taken into account in production. The publication is an asynchronous process, meaning that it will take time and does not return an immediate ...
    • Integration workflow

      This page gives useful information for the project management aspect of the integration of the SDK. Planning and effort estimation for the integration of the SDK: Coding effort: 1 staff day per OS, integration support : 1 staff day Testing effort: 1 ...
    • Privacy manifest files

      Privacy manifest files The privacy manifest files from ios 17 feature is add to give app developers full transparency into how the third-party SDKs they work with collect and use data. Therefore, since May 1, 2024, all applications must provide this ...
    • 7. Asynchronous Processing

      Consider a situation when you need to create a resource or perform an action and the operation takes a long time to complete (e.g: a publication of a Tracking Configuration). The request will return a status 303 See Other with a background_job ...
    • 1. Overview

      Setup workflow A typical Indoor Location setup has 6 steps: Site creation Map import Navigation walkways creation Beacon deployment Calibration and Positioning Database (PDB) generation PDB publication (making it avalable for mobile SDK consumption) ...