Open grecky-goo opened 2 months ago
The Firebase add-on has nothing to do with Auth. It’s expected that you handle Auth yourself using the full, standard Firebase plugin.
I am sorry to ask the same question, I am totally confused. I am getting some sort of authentication error, and all I get is a cryptic log message about client authentication failed. No error code, no indication where the message came from. I won't bother you any more.
Plugin version: Platform: iOS OS version: 17.5.1 Device manufacturer / model: Iphone 14 pro Flutter info (flutter info, flutter doctor): *Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.22.2, on macOS 14.4 23E214 darwin-x64, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.4) [✓] Chrome - develop for the web [✓] Android Studio (version 2023.3) [✓] VS Code (version 1.90.2) [✓] Connected device (3 available) ! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac. The device must be opted into Developer Mode to connect wirelessly. (code -27) [✓] Network resources Plugin config BackgroundGeolocationFirebase.configure(BackgroundGeolocationFirebaseConfig( locationsCollection: "locations", geofencesCollection: "geofences", updateSingleDocument: false)); bg.BackgroundGeolocation.ready(bg.Config( debug: true, distanceFilter: 50, logLevel: bg.Config.LOG_LEVEL_VERBOSE, stopTimeout: 1, stopOnTerminate: false, startOnBoot: true)) .then((bg.State state) { print( '[locationServiceIntilize] ** Starting Service. enabled:$state.enabled '); appState.enabled = state.enabled; bg.BackgroundGeolocation.start(); });
To Reproduce Steps to reproduce the behavior: The snap record, or the context that is passed to the cloud function does not include the auth object, nor the UID information. How to configure the plugin to pass this information.
Debug logs