Skip to content

Commit 8bb9cc8

Browse files
committed
Further limitations clarification
1 parent aef64d8 commit 8bb9cc8

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,13 @@ an object of the following shape:
125125

126126
## Limitations
127127

128-
- The exact timings of tasks are unpredictable (both iOS and Android use black-
129-
box algorithms depending on factors like device sleep state etc.), and cannot
130-
be made more frequent than every 15 minutes. This library should only be
131-
used for tasks that are an incremental feature, and can have inexact timing,
132-
such as the periodic background syncing of data, and you should be prepared
133-
for the case that background task never fires at all.
128+
- Tasks cannot be scheduled any more frequently than every 15 minutes.
129+
- The exact timings of task execution are unpredictable, as both Anrdoid and
130+
iOS use black-box algorithms, which depend on factors like device sleep
131+
state. This library should only be used for tasks that are an incremental
132+
feature, and can have inexact timing, such as the periodic background syncing
133+
of data. You should be prepared for the case that background task doesn't
134+
fires at all.
134135

135136
Android:
136137

@@ -140,9 +141,9 @@ Android:
140141

141142
iOS:
142143

143-
- The iOS Background Fetch algorithm is a black box, and as it stands, it will
144-
not continue to run after a user manually closes the app. (The app being
145-
closed by the OS to free up memory etc. should be fine).
144+
- iOS Background Fetch will not continue to run after a user manually closes
145+
the app. (The app being closed by the OS to free up memory etc. should be
146+
fine).
146147
- Background tasks will not be scheduled in the simulator. You'll need to
147148
either test it on a real device, or use the
148149
[Simulate Background Fetch](https://developer.apple.com/library/content/documentation/IDEs/Conceptual/iOS_Simulator_Guide/TestingontheiOSSimulator/TestingontheiOSSimulator.html#//apple_ref/doc/uid/TP40012848-CH4-SW5)

0 commit comments

Comments
 (0)