We frequently receive questions about why the sync process stops when the user receives a phone call, switches to another app, or minimizes the Pulsar app. The reason is that the Pulsar app must comply with the operating system’s rules. Below is an explanation of how operating systems limit background tasks for applications when they're not in the foreground.

iOS, Android and Windows operating systems restrict background tasks for applications primarily to optimize battery usage, improve performance, and enhance user experience. While these operating systems offer ways to perform background tasks, these actions are constrained for several reasons:

  1. Battery Life Concerns

Continuous background tasks can drain battery life quickly. Allowing apps to run freely in the background can lead to excessive power consumption, especially for tasks like fetching data, playing music, or location tracking. OS restrictions are designed to limit background activity and thus help preserve battery life, ensuring that the device performs well throughout the day.

  1. Resource Management

The operating systems are designed to prioritize system resources (CPU, memory, and bandwidth). Running multiple tasks in the background for several apps can cause performance slowdowns. To prevent this, the platforms limit background tasks unless necessary (e.g., for notifications, system updates, etc.).

  1. User Control and Privacy and Security

User control and transparency are crucial aspects for these platforms. Apps shouldn't be allowed to perform tasks in the background without the user's awareness or consent. Apps running in the background could potentially gather data, track user activities, or perform other actions without the user's knowledge. Operating systems impose limitations to ensure privacy and security by restricting what apps can do in the background.

Platform-Specific Background Task Policies

Conclusion:

Apps can perform some background tasks (e.g., fetching data, playing music, notifications, location tracking), but continuous and unrestricted background processing is generally not allowed due to battery life, system performance, privacy, and security concerns. Instead, both iOS and Android encourage developers to optimize tasks and only run background processes when absolutely necessary or based on specific system events (e.g., notifications, alarms).