rmawatson/flutter_isolate

Flutter_Isolate not working on iOS in release mode

maxmitz opened this issue · 2 comments

I used flutter_isolate with the video_compress plugin to compress a video in the background. For Android, it always works. For iOS, it only works in the debug mode but not in release mode.

I did not add the code so far because it is a lot of code to reproduce (video recording, saving, then the compress, multiple screens). I will try to publish here a smaller example that reproduces the bug later. Did somebody have the same problem for iOS in the release mode or does it work for everybody else in the iOS release mode?

My questions would be:

  • Is it a setup problem? I tried the things from the Workmanager plugin but I am not sure if I did it correctly. In the flutter_isolate docs, I did not find that a particular setup is needed.
  • Is it a problem in the regular Dart Isolate class? Does iOS allow running separate tasks apart from iOS BGAppRefreshTask
  • Is it a problem in flutter_isolater?
  • Or did I do something wrong?

Thanks in advance and thanks for working on this plugin!

Not completely correct description

Not completely correct description