Throw exception when putFile to Firebase Storage in background utilizing WorkManager Flutter in IOS

0
104


I’m encountering a difficulty with putFile in Firebase Storage when working within the background.

Every little thing works wonderful within the foreground, nevertheless it’s not functioning within the background.

Please see the connected picture. The issue 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 verify it is working in Android however not working in IOS