-
Notifications
You must be signed in to change notification settings - Fork 126
Description
Please fill in the following fields:
Pre-built SDK from the website or open-source from this repo: Website
Firebase C++ SDK version: 6.15.0
Firebase plugins in use (Auth, Database, etc.): Storage, Auth, Firestore
Additional SDKs you are using (Facebook, AdMob, etc.): N/A
Platform you are using the C++ SDK on (Mac, Windows, or Linux): Mac
Platform you are targeting (iOS, Android, and/or desktop): iOS and desktop
Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
Try and upload a file using fileRef.PutFile( localPath ).OnCompletion( .... ) results in "No object exists at the desired reference" on iOS, works on Mac desktop. There's also a log warning of "CFURLResourceIsReachable failed because it was passed an URL which has no scheme" directly before hand. The local filename is absolute and readable. PutBytes works fine.
It's not a permission error on either the local file or firebase storage location since it works fine if I load the file myself into a buffer and use PutBytes.
GetFile doesn't work either, I have to load into a buffer with GetBytes and save out myself. This isn't ideal because I first need to find out the required buffer size with GetMetadata, resulting in a two step process.
Please answer the following, if applicable:
Have you been able to reproduce this issue with just the Firebase C++ quickstarts ?
No. GetFile and PutFile are not used in the quickstart, only GetBytes/PutBytes which work fine.
What's the issue repro rate? (eg 100%, 1/5 etc)
100%.