Skip to content

0.1.1

Latest

Choose a tag to compare

@jwinarske jwinarske released this 16 Nov 18:43
· 100 commits to main since this release
9eb75d2

Published to pub.dev as 0.1.1. Every package in this repository shares the version.

firebase_ffi

Fixed

  • GoogleServicesConfig.parse no longer requires firebase_url. The console
    writes that key only once a Realtime Database exists, so a project using Auth
    or Firestore alone could not read its own config. databaseUrl is String?,
    like the bucket beside it, and initDatabase takes it as optional.
  • Windows: linking Remote Config failed on two ICU symbols. app/src/locale.cc
    includes <icu.h> there, and GetTimezone is reached only from Remote
    Config, so no earlier Windows build had pulled the object in. icu joins the
    system libraries the SDK publishes through its package config.
  • Windows: the first Realtime Database write faulted. Repo's constructor
    abandoned setup when it could not create a directory named after the database
    url — against the emulator that name holds : and ?, both reserved in NTFS
    paths — and returned before server_sync_tree_ was built, leaving a null
    member behind a Database the SDK still handed out. The cache directory is now
    worked out only when persistence is enabled, which is off here.
  • An app initialized with no database url is refused by the Database rather
    than accepting writes it can never deliver.

Added

  • hooks.user_defines.firebase_ffi.debug_info emits debug info beside the
    optimized build: a PDB under MSVC, -g elsewhere. Off by default.
  • platforms: names linux, macos and windows. pub.dev inferred android and ios
    from the imports; neither can work, and on mobile the official FlutterFire
    plugins are the implementation.

Notes

  • The binding suite runs against the emulator suite on all three desktops now,
    not only Linux. Both Windows bugs above were found that way, within an hour
    of each other.

firebase_core_ffi

Fixed

  • A project with no Realtime Database initializes. databaseURL reaches the
    binding as null rather than as an empty string, which is what the console
    writes for a project that has none.

Changed

  • Requires firebase_ffi ^0.1.1, which carries the config fix above and the
    Windows Database fix.
  • The README installs from pub.dev rather than from a path.

firebase_auth_ffi

Changed

  • Requires firebase_ffi ^0.1.1. That release stops google-services.json
    being rejected when the project has no Realtime Database, and fixes the first
    Database write faulting on Windows.
  • The README installs from pub.dev rather than from a path.

firebase_database_ffi

Changed

  • Requires firebase_ffi ^0.1.1. That release stops google-services.json
    being rejected when the project has no Realtime Database, and fixes the first
    Database write faulting on Windows.
  • The README installs from pub.dev rather than from a path.

cloud_firestore_ffi

Changed

  • Requires firebase_ffi ^0.1.1. That release stops google-services.json
    being rejected when the project has no Realtime Database, and fixes the first
    Database write faulting on Windows.
  • The README installs from pub.dev rather than from a path.

firebase_storage_ffi

Changed

  • Requires firebase_ffi ^0.1.1. That release stops google-services.json
    being rejected when the project has no Realtime Database, and fixes the first
    Database write faulting on Windows.
  • The README installs from pub.dev rather than from a path.

cloud_functions_ffi

Changed

  • Requires firebase_ffi ^0.1.1. That release stops google-services.json
    being rejected when the project has no Realtime Database, and fixes the first
    Database write faulting on Windows.
  • The README installs from pub.dev rather than from a path.

firebase_remote_config_ffi

Changed

  • Requires firebase_ffi ^0.1.1. That release stops google-services.json
    being rejected when the project has no Realtime Database, and fixes the first
    Database write faulting on Windows.
  • The README installs from pub.dev rather than from a path.

firebase_app_check_ffi

Changed

  • Requires firebase_ffi ^0.1.1. That release stops google-services.json
    being rejected when the project has no Realtime Database, and fixes the first
    Database write faulting on Windows.
  • The README installs from pub.dev rather than from a path.