Releases: firebase/firebase-cpp-sdk
Releases · firebase/firebase-cpp-sdk
Firebase C++ SDK 7.1.0
Prebuilt versions of the libraries are available for download here.
Release Notes
- Changes
- General (iOS): Re-enabled Bitcode in iOS builds (#266).
- Auth: You can now specify a language for emails and text messages sent from your apps using
UseAppLanguage()
orset_language_code()
. - Firestore: Fixed partial updates in
Update()
withFieldValue::Delete()
(firebase/quickstart-unity#882). - Messaging (Android): Now uses
enqueueWork
instead ofstartService
. This fixes lost messages with data payloads received when the app is in the background (firebase/quickstart-unity#877). - Remote Config: Added
firebase::remote_config::RemoteConfig
class with new instance-based APIs to better manage fetching config data. - Remote Config: Deprecated old module-based API in favor of the new instance-based API instead.
- Remote Config (Desktop): Fixed multiple definition of Nanopb symbols in binary SDK (#271).
Firebase C++ SDK 7.0.1
Prebuilt versions of the libraries are available for download here.
Release Notes
- Changes
- Installations (Android): Fixed incorrect STL variants, which fixes a linker error on Android.
Firebase C++ SDK 7.0.0
Prebuilt versions of the libraries are available for download here.
Release Notes
- Changes
- General (iOS): iOS SDKs are now built using Xcode 11.7.
- General (Desktop): Windows libraries are now built using Visual Studio 2019. While VS 2019 is binary-compatible with VS 2015 and VS 2017, you must use VS 2019 or newer to link the desktop SDK. The libraries have been moved from libs/windows/VS2015 to libs/windows/VS2019 to reflect this.
- General (Desktop): Linux libraries are now built with both the C++11 ABI and the legacy ABI. The libraries have been moved from libs/linux/${arch} to libs/linux/${arch}/legacy and libs/linux/${arch}/cxx11 to reflect this.
- AdMob (Android): Fix a JNI error when initializing without Firebase App.
- Analytics: Remove deprecated SetMinimumSessionDuration call.
- Installations: Added Installations SDK. See Documentations for details.
- Instance Id: Marked Instance Id as deprecated.
- Messaging: Added getToken, deleteToken apis.
- Messaging: Removed deprecated Send() function.
- Messaging: raw_data has been changed from a std::string to a std::vector<uint8_t>, and can now be populated.
- Firestore: Firestore C++ is now in Beta.
- Firestore: Added support for Query::WhereNotEqualTo and Query::WhereNotIn.
- Firestore: Added support for Settings::set_cache_size_bytes and Settings::cache_size_bytes.
- Firestore: Query methods that return new Query objects are now const.
- Firestore: Added new internal HTTP headers to the gRPC connection.
- Firestore: Fixed a crash when writing to a document after having been offline for long enough that the auth token expired (#182).
Firebase C++ SDK 6.16.0
Prebuilt versions of the libraries are available for download here.
Release Notes
- Changes
- AdMob: Handling IllegalStateException when creating and loading interstitial ads. Added ConstantsHelper.CALLBACK_ERROR_UNKNOWN as a fallback error.
- Auth: Fixed compiler error related to SignInResult.
- Database (Desktop): Enabled offline persistence.
- Firestore: Defaulted to calling listeners and other callbacks on a dedicated thread. This avoids deadlock when using Firestore without an event loop on desktop platforms.
- Firestore: Added Error::kErrorNone as a synonym for Error::kErrorOk, which is more consistent with other Firebase C++ SDKs.
- Firestore: Added error_message parameter to snapshot listener callbacks.
- Messaging (Android): Updated library to be compatible with Android O, which should resolve a IllegalStateException that could occur under certain conditions.
- Messaging: Deprecated the Send function.
Firebase C++ SDK 6.11.0
Prebuilt versions of the libraries are available for download here.
Release Notes
- Overview
- Changed minimum Xcode version.
- Fixed an issue in Database handling Auth token revocation.
- Changes
- General (iOS): Minimum Xcode version is now 10.3.
- Database (Desktop): Fixed that Database stops reconnecting to server after the auth token is revoked.
Firebase C++ SDK 6.10.0
Prebuilt versions of the libraries are available for download here.
Release Notes
- Overview
- Auth bug fixes.
- Added support for Apple Sign-in to Auth
- Support for signing-in using a 3rd party web providers
- Configuration of BigQuery export in Messaging.
- Changes
- Auth: Reverted the API of an experimental FederatedAuthHandler callback handler.
- Auth: Added API for invoking Auth SignInWithProvider and User LinkWithProvider and ReauthenticateWithProvider for sign in with third party auth providers.
- Auth: Added constant kProviderId strings to auth provider classes.
- Auth (iOS): Added support for linking Apple Sign-in credentials.
- Auth (iOS): Added a new version of OAuthProvider.GetCredential, which takes a nonce parameter as required by Apple Sign-in.
- General (iOS): Updated the CMakeLists.txt to link static libraries stored under libs/ios/universal for iOS targets
- Messaging (Android): Added the option to enable or disable message delivery metrics export to BigQuery. This functionality is currently only available on Android. Stubs are provided on iOS for cross platform compatibility.
Firebase C++ SDK 6.8.0
Prebuilt versions of the libraries are available for download here.
Release Notes
- Overview
- Updated dependencies, added compiler/stdlib check, fixed issue in Admob and fixed resource generation issue with python3.
- Changes
- App (Linux): Added compiler/stdlib check to ensure both the developer's executable and firebase library are compiled with the same compiler and stdlib.
- Admob (Android): Fixed a potentially non thread safe operation in the destruction of BannerViews.
- General: Fixed an issue where resource generation from google-services.json would fail if python3 was used to execute the resource generation script.
Firebase C++ SDK 6.7.0
Prebuilt versions of the libraries are available for download here.
Release Notes
- Overview
- Updated dependencies, fixed issues in Analytics, Database, Storage, and App.
- Changes
- App: Added noexcept to move constructors to ensure STL uses move where possible.
- Storage (iOS/Android): Fixed an issue where Storage::GetReferenceFromUrl would return an invalid StorageReference.
- Database: Fixed an issue causing timestamps to not be populated correctly when using DatabaseReference::UpdateChildren().
- Database (Desktop): Fixed an issue preventing listener events from being triggered after DatabaseReference::UpdateChildren() is called.
- Database (Desktop): Functions that take const char* parameters will now fail gracefully if passed a null pointer.
- Database (Desktop): Fixed an issue causing DatabaseReference::RunTransaction() to fail due to datastale when the location previously stored a vector with more than 10 items or a map with integer keys.
- App (Windows): Fixed bug where literal value 0 will call string constructor for Variant class.
- Storage (Desktop): Changed url() to return the empty string if the Storage instance was created with the default (null) URL.
- App: Added small string optimisation for variant.
- App: Reduced number of new/delete for variant if copying same type
- App: Ensure map sort order for variant is consistent.
- Database (Desktop): Fixed an issue that could result in an incorrect snapshot being passed to listeners under specific circumstances.
- Analytics (iOS): Fixed the racy behavior of
analytics::GetAnalyticsInstanceId()
after callinganalytics::ResetAnalyticsData()
. - Database (Desktop): Fixed ordering issue of children when using OrderBy on double or int64 types with large values
Firebase C++ SDK 6.6.0
Prebuilt versions of the libraries are available for download here.
Release Notes
- Overview
- Update dependencies, fixed issues in Auth, Database and RemoteConfig
- Changes
- Auth (Android): Fixed assert when not using default app instance.
- Auth (Desktop): Fixed not loading provider list from cached user data.
- Database (Desktop): Fixed a crash that could occur when trying to keep a location in the database synced when you do not have permission.
- Database (Desktop): Queries on locations in the database with query rules now function properly, instead of always returning "Permission denied".
- Database (Desktop): Fixed the map-to-vector conversion when firing events that have maps containing enitrely integer keys.
- Remote Config (Android): Fixed a bug when passing a Variant of type Blob to SetDefaults() on Android.
Firebase C++ SDK 6.5.0
Prebuilt versions of the libraries are available for download here.
Release Notes
- Overview
- Updated dependencies, and improved logging for Auth and Database.
- Changes
- Auth (Linux): Improved error logging if libsecret (required for login persistence) is not installed on Linux.
- Database: The database now supports setting the log level independently of the system level logger.