Loading video...

Video Failed to Load

Go Home

react-native-continued-task is out ๐ŸŽ‰ Start a long job, leave the app, it keeps going. iOS 26 + Android, one API. Huge thanks to Marc for Nitro Modules ๐Ÿ”ฅ

31,932 views โ€ข 1 month ago โ€ขvia X (Twitter)

28 Comments

Daniel Morales's profile picture
Daniel Morales1 month ago

@mrousavy By "leave the app" you mean we can quit the app? Or does it need to stay in the background?

Mehdi ยท Motionary's profile picture
Mehdi ยท Motionary1 month ago

Background yes, force quit no. iOS cancels it when you swipe the app away, and doesn't tell your app. So the lib saves a record you can check next launch.

Daniel Morales's profile picture
Daniel Morales1 month ago

Got it so it seems like expo has this covered already unless I'm missing something

Mehdi ยท Motionary's profile picture
Mehdi ยท Motionary1 month ago

Different tool for a different job. expo-background-task is deferred work. The system runs it whenever it decides, minimum 15 min on Android, and the user never sees it. Great for sync and prefetch. This is for work the user just started and is waiting on. Starts right away, shows progress they can cancel.

Daniel Morales's profile picture
Daniel Morales1 month ago

Thanks for clarifying and great work!

Brian Hadu's profile picture
Brian Hadu1 month ago

@mrousavy maintaining tasks across iOS 26 and Android with one API is a big win

Mehdi ยท Motionary's profile picture
Mehdi ยท Motionary1 month ago

Yes, for sure

danny's profile picture
danny1 month ago

@mrousavy awesome work bro!

Mehdi ยท Motionary's profile picture
Mehdi ยท Motionary1 month ago

Thanks โค๏ธ

Abdul-Qudus's profile picture
Abdul-Qudus1 month ago

@mrousavy Really nice work!!๐Ÿ‘Œ Will definitely come in handy

Mehdi ยท Motionary's profile picture
Mehdi ยท Motionary1 month ago

Thanks ๐Ÿ™

Mehran's profile picture
Mehran1 month ago

@mrousavy nice work Mehdi ๐Ÿ”ฅ

Mehdi ยท Motionary's profile picture
Mehdi ยท Motionary1 month ago

Thanks bro ๐Ÿ˜

MONARCH's profile picture
MONARCH1 month ago

@goody__boy @mrousavy Niiice

Mehdi ยท Motionary's profile picture
Mehdi ยท Motionary1 month ago

Thanks๐Ÿ˜

Minh Nguyen's profile picture
Minh Nguyen1 month ago

@iamarunabh @mrousavy Nice work!!

Ev Astapov's profile picture
Ev Astapov1 month ago

@mrousavy How long did it take?

Mehdi ยท Motionary's profile picture
Mehdi ยท Motionary1 month ago

A day or two!

UX Mostofa โœฆ's profile picture
UX Mostofa โœฆ1 month ago

@mrousavy Professional work!

Brjan | AI Builder's profile picture
Brjan | AI Builder1 month ago

@mrousavy long-running tasks are a big win for user experience, especially on mobile

Mehdi ยท Motionary's profile picture
Mehdi ยท Motionary1 month ago

For sure it is!

Delulu's profile picture
Delulu1 month ago

@mrousavy great stuff bro

Mehdi ยท Motionary's profile picture
Mehdi ยท Motionary1 month ago

@mrousavy Thanks ๐Ÿ˜

eric's profile picture
eric1 month ago

@mrousavy great work man no wonder your bounty is so high

Mehdi ยท Motionary's profile picture
Mehdi ยท Motionary1 month ago

Haha, this is so cool ๐Ÿ˜

Abi's profile picture
Abi1 month ago

@mrousavy Bookmarked ๐Ÿ™

Mehdi ยท Motionary's profile picture
Mehdi ยท Motionary1 month ago

@mrousavy Thanks ๐Ÿ˜

Davide Del Gatto's profile picture
Davide Del Gatto1 month ago

@mrousavy That's soo helpful. Saved for later ๐Ÿ”ฅ

Related Videos