General Restrictions on Android 6 and higher.

Since Android 6 and higher, the operating systems enforces stricter restrictions for apps running in the background. Most importantly, network access and background jobs are restricted to certain time slots. As a result, certain features might be restricted when the app is not actively used. This also applies if OwnTracks is exluded from battery optimizations.

  • It is highly recommended to use HTTP mode on Android 6 and higher.
  • The ongoing notification is required to run in the background.
  • App standby or battery optimization may interfere with OwnTracks due to broken implementation on some devices. It is recommended to disable the Android battery optimization feature for OwnTracks in Settings > Battery > Battery Optimization.
  • Outgoing messages will only be sent in batched intervals. Location updates or event messages may be delayed.
  • Incoming messages such as events might be delayed.
  • When using MQTT, the broker connection is not maintained permanently. A reconnect will be attempted every 10 minutes or when a message is sent. Changing the keepalive interval does not change this behavior. If the connection is established without the clean session flag, missed messages will be received once connected.
  • The app cannot attempt to connect if the network connection changes because it is not possible to receive the network change event.
  • Beacons are no long supported in OwnTracks for Android and will be removed in future releases.

Restrictions on Huawei Phones

Huawei Phones will stop apps in the background. OwnTracks needs to be whitelisted as a protected app in order to run in the background.

Google Play Services

Google Play Services are required to use OwnTracks. There are no plans to remove the dependency.

They are used for Battery efficient location access Geofencing Scheduling of background jobs Resolving coordinates to addresses * Displaying the map


In the unlikely case that your broker does not require a username and password, you can disable authentication in the connection preferences. Please note that even then, you have to set a device name and username before you can connect as these are also used to construct various other internal things.

By default a TLS secured communication channel with the broker is assumed. Thus you have to ensure that the broker certificate is properly imported on your device.

In recent Android versions, a passcode is required once custom TLS certificates are imported. If you want to circumvent this, you can enable TLS with custom certificates and import that into the private storage location of the app. This will circumvent the Android TLS certificate management by using the certificate directly and skipping any other certificates known to the system.

In HTTP mode the url is required to connect. In MQTT mode the host and username is required to connect. If authentication is enabled, a password is required too.