1

I am encountering an issue with putFile in Firebase Storage when running in the background.

Everything works fine in the foreground, but it's not functioning in the background.

Please see the attached image. The problem arises at line 67.

enter image description here

my dependencies: in flutter 3.22.0

#firebase firebase_core: ^3.1.0 firebase_analytics: any firebase_crashlytics: ^4.0.1 firebase_storage: ^12.0.1 firebase_app_check: ^0.3.0+1

#run in background workmanager: git: url: https://github.com/absar/flutter_workmanager.git ref: ios-bg-tasks-enh-final

I check it's working in Android but not working in IOS

4
  • Did you check your firebase real time storage for image, when you upload file from your android device. Commented Jun 17 at 7:16
  • 1
    @Shivbaba'sson Android work exactly, but not working in IOS Commented Jun 17 at 7:56
  • appFile.name has extension of file like jpeg, png ? Commented Jun 17 at 11:35
  • 1
    @Shivbaba'sson yes, it has Commented Jun 19 at 2:23

0