-
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.): Firestore, Auth
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 (iOS is fine)
Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
Apply firebase/quickstart-cpp#47 so that the firestore quickstart will compile. Compile and run. The logs have a lot of ERROR: <something> returned an invalid result
which looking at the code is the error printed when the timeout elapses.
Full output from the quickstart:
Initialized Firebase App.
Initializing Firebase Auth...
Initialized Firebase Auth.
Signing in...
Signed in as an anonymous user, uid: T3ui2N9WzMXFLBTdvjNflZDHFzR2, email: .
Initialize Firebase Firestore.
Attempt to initialize Firebase Firestore.
Successfully initialized Firebase Firestore.
Successfully set Firestore settings.
Testing non-wrapping types.
Tested non-wrapping types.
Testing collections.
Tested collections.
Testing documents.
Testing Set().
ERROR: document.Set returned an invalid result.
ERROR: failed to write document.
Testing Update().
ERROR: document.Update returned an invalid result.
ERROR: failed to write document.
Testing Get().
ERROR: document.Get returned an invalid result.
Testing Delete().
ERROR: document.Delete returned an invalid result.
ERROR: failed to delete document.
Tested document operations.
Successfully added and removed document snapshot listener.
Testing batch write.
ERROR: batch.Commit returned an invalid result.
ERROR: failed to write batch.
Tested batch write.
Testing transaction.
ERROR: firestore.RunTransaction returned an invalid result.
ERROR: failed to run transaction.
Tested transaction.
Testing query.
ERROR: query.Get returned an invalid result.
ERROR: failed to fetch query result.
Tested query.
Shutdown the Firestore library.
WARNING: Future with handle 1 still exists though its backing API 0x48C0C6C0 is being deleted. Please call Future::Release() before deleting the backing API.
WARNING: Future with handle 1 still exists though its backing API 0x48E077E0 is being deleted. Please call Future::Release() before deleting the backing API.
WARNING: Future with handle 1 still exists though its backing API 0x48E2B640 is being deleted. Please call Future::Release() before deleting the backing API.
WARNING: Future with handle 1 still exists though its backing API 0x48E2F1B0 is being deleted. Please call Future::Release() before deleting the backing API.
WARNING: Future with handle 2 still exists though its backing API 0x48E2F1B0 is being deleted. Please call Future::Release() before deleting the backing API.
WARNING: Future with handle 3 still exists though its backing API 0x48E2F1B0 is being deleted. Please call Future::Release() before deleting the backing API.
WARNING: Future with handle 4 still exists though its backing API 0x48E2F1B0 is being deleted. Please call Future::Release() before deleting the backing API.
Shutdown Auth.
WARNING: Future with handle 1 still exists though its backing API 0x48D049B8 is being deleted. Please call Future::Release() before deleting the backing API.
WARNING: Future with handle 3 still exists though its backing API 0x48D049B8 is being deleted. Please call Future::Release() before deleting the backing API.
WARNING: Future with handle 1 still exists though its backing API 0x48E06BB0 is being deleted. Please call Future::Release() before deleting the backing API.
WARNING: Future with handle 4 still exists though its backing API 0x48E06BB0 is being deleted. Please call Future::Release() before deleting the backing API.
Shutdown Firebase App.
Tests PASS.
WARNING: Future with handle 1 still exists though its backing API 0x48E2F730 is being deleted. Please call Future::Release() before deleting the backing API.
In my own project code I have:
pFirestore->Collection("myCollection").Get().OnCompletion( <some lambda> );
as part of fairly extensive use of Firestore. It all runs fine on iOS but the lambda is never called on desktop.
Please answer the following, if applicable:
Have you been able to reproduce this issue with just the Firebase C++ quickstarts ?
Yes, after updating the quickstart so that it compiles with 6.15.0 (see firebase/quickstart-cpp#47)
What's the issue repro rate? (eg 100%, 1/5 etc)
100% on desktop.