O'Reilly logo

React Native Cookbook by Crysfel Villa, Stan Bershadskiy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Background processing on iOS

Over the last several years, the functional gap for common applications between mobile and desktop has shrunk. Users are demanding richer experiences and more robust processing than the trivial applications that originally existed. To support this, the hardware had to be upgraded to support the software demands. Most mobile devices today are powered by multi-core processors, and the operating systems now provide developers easy abstractions to execute code in the background without locking the application.

This recipe will cover the use of iOS's Grand Central Dispatch to execute asynchronous background processing on a new thread and communicate back to our React Native application when the processing is complete.

Getting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required