Possible Bug - Send Files to Background Task from Android

I am using the Anvil fileloader component to send files (images) to a server call that runs a background task to process the files.

If I upload the images from a desktop chrome browser using the server call and background task below, the code for both executes and completes.

If I upload the images from an android phone using chrome browser, the server call executes but the background task starts but does not make it to the first line of the background task function.

# server call to receive the files (images) from file uploader and submit to background task for processing
@anvil.server.callable
def images_form_to_server(images):
  print('server call to launch background task')
  anvil.server.launch_background_task('background_process_images',images)



# background task to process images
@anvil.server.background_task
def background_process_images(images):
  print('background task started')
  for i in images:
    print(i)
    # process images

In the Background Tasks log they are still classed as running:


But the log is empty from the Android loaded images.

Clone link to demonstrate the issue:
https://anvil.works/build#clone:4QMJMYY3VOM23N54=XP2IBQA2FD43HYF5JZMZXSKJ

I have not been able to test on any other devices.

1 Like

@ian any thoughts on this?