Is it possible to export media in the background?

Android:

Please follow this guide if you do not want to show the progress screen to your users. It details how to use the BackgroundExportFlowManager implementation in VideoEditorModule.


iOS:
Exporting in the background is easier here; you can start this export either when the editor is open or when it is closed. You just need to reverse the sequence. isBackground
Close editor
Start export

isForeground
Start export
Close editor

Code Example:

func videoEditorDone(_ videoEditor: BanubaVideoEditor) {
  if backgroundExportFlowSwitch.isOn {
   videoEditorSDK?.dismissVideoEditor(animated: true) {
    // Call method videoEditorSDK?.export after VE is dismissed
    videoEditorSDK?.export()
   }
  } else {
   // Call method videoEditorSDK?.export first and when export is done, in completion dismiss VE
   videoEditorSDK?.export() {
    self.videoEditorSDK?.dismissVideoEditor(
     animated: true
    ) {
     self.videoEditorSDK?.clearSessionData()
     self.videoEditorSDK = nil
    }
   }
  }
 }