Handling intensive work in background?


#1

In a hybrid (Android/IOS) app I need to do some rather intensive image processing and it’s causing the UI to freeze. Is there a way to do the “heavy lifting” in a background process so that the UI would not be completely blocked?

Some points to consider:

  • Unfortunately the work can’t be chunked into separate timeouts.
  • I’m not looking for Background Mode but rather a way to do the processing while the user is using the app.

#2

Spontaneously I would say, doing the work on the server side?


#3

Otherwise I would, but this is a standalone app. Creating a back end for image manipulation would in this case also complicate staying GDPR compliant.