You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Check [runtime requirements](https://developer.android.com/about/versions/14/changes/fgs-types-required#system-runtime-checks) before starting the service. If this requirement is not met, the foreground service cannot be started.
76
+
77
+
> [!CAUTION]
78
+
> Android 15 introduces a new timeout behavior to `dataSync` for apps targeting Android 15 (API level 35) or higher.
79
+
> The system permits an app's `dataSync` services to run for a total of 6 hours in a 24-hour period.
80
+
> However, if the user brings the app to the foreground, the timer resets and the app has 6 hours available.
81
+
>
82
+
> There are new restrictions on `BOOT_COMPLETED(autoRunOnBoot)` broadcast receivers launching foreground services.
83
+
> `BOOT_COMPLETED` receivers are not allowed to launch the following types of foreground services:
> You can find how to test this behavior and more details at this [link](https://developer.android.com/about/versions/15/behavior-changes-15#fgs-hardening).
77
91
78
92
### :baby_chick: iOS
79
93
@@ -212,8 +226,8 @@ class MyTaskHandler extends TaskHandler {
0 commit comments