Commit Graph
71 Commits
Author SHA1 Message Date
Hokila Jan e04df89a38 fix(database): refresh server time offset after clock changes (#16566) 2026-08-31 17:09:29 -04:00
ismail ramzi 586d73f778 fix surrogate pair replacement range in FNextPushId (#16415) 2026-07-20 12:14:38 -04:00
ismail ramzi 2e2db51ab6 ignore non-text websocket frames in handleIncomingFrame (#16414) 2026-07-20 11:25:19 -04:00
Paul Beusterien 58501dbbaa test: Increase timeout in testListenForChildChangedWithLimitEnsureEventsFireProperly (#16279) 2026-06-23 15:00:30 -04:00
45210bd1ea [RTDB] Fix Fatal Exception: FirebaseDatabasePersistenceFailure (#15563)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
Co-authored-by: Nick Cooke <nickcooke@google.com>
2025-12-02 16:09:00 -08:00
Paul Beusterien 3c30cd9a5d [RTDB] Fix concurrency crash in FView (#15548) 2025-12-01 15:35:42 -08:00
pcfba 1cce11cf94 Formatting updates from running scripts/style.sh (#15311) 2025-09-09 18:04:55 -04:00
Nick Cooke fcfc321641 [Infra] Disable flaky integration tests (#15104) 2025-07-11 11:15:13 -04:00
Paul Beusterien 2e11fc13c7 Restore socket rocket (#14427) 2025-02-04 19:54:09 -08:00
Paul Beusterien 948c460cdb Update to a more recent rtdb emulator version (#14002) 2024-10-30 16:06:01 -07:00
Seyed Mojtaba Hosseini Zeidabadi 3c754ed99d Fix FirebaseDatabase integration test leftovers (#13809) 2024-10-04 08:28:15 -07:00
Seyed Mojtaba Hosseini Zeidabadi d4e42eef8c Enhance FirebaseDatabase function names (#13778) 2024-10-03 07:34:36 -07:00
Seyed Mojtaba Hosseini Zeidabadi 7c4c134062 Fix FirebaseDatabase integration test files content (#13781) 2024-10-03 07:34:11 -07:00
Seyed Mojtaba Hosseini Zeidabadi cf2348de40 Fix FirebaseDatabase integration test files content (#13783) 2024-10-03 07:33:41 -07:00
Seyed Mojtaba Hosseini Zeidabadi 4371cb5b11 Fix a little typo in a comment of a json resource (#13782) 2024-10-03 07:32:40 -07:00
Seyed Mojtaba Hosseini Zeidabadi 6d297a763d Fix FirebaseDatabase sync point test file content (#13784) 2024-10-03 07:32:00 -07:00
Seyed Mojtaba Hosseini Zeidabadi c216e1fa71 Docs: improve comments of the FirebaseDatabase (#13785) 2024-10-03 10:12:53 -04:00
Seyed Mojtaba Hosseini Zeidabadi cf1d90ae25 Fix all typos found under the FirebaseDatabase/Tests and the main directory (#13349) 2024-07-23 07:00:24 -07:00
Nick Cooke 732ff62be2 [Database] Remove DatabaseSwift (#13057) 2024-06-05 15:19:05 -04:00
Paul Beusterien 1198afd2ba Merge remote-tracking branch 'origin/main' into pb-merge-main-529 2024-05-29 15:09:57 -07:00
Yakov Manshin 7434377e3b Removed Unused Availability Checks (#13023) 2024-05-28 09:20:31 -07:00
Paul Beusterien 1a0d39a329 Merge remote-tracking branch 'origin/main' into auth-swift 2024-05-08 13:59:34 -07:00
Paul BeusterienandNick Cooke 1c605b2d24 [RTDB] Use NSURLSessionWebSocket instead of SocketRocket where possible (#12894)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2024-05-08 08:10:09 -07:00
Paul Beusterien 0b90011293 Merge remote-tracking branch 'origin/main' into auth-swift 2024-03-18 11:42:30 -07:00
Andrew Heard 5797426f04 Upgrade clang-format to v18 (#12483) 2024-03-06 20:44:20 -05:00
Paul Beusterien b4d4586aaa [auth-swift] Consistent structure for FirebaseAuthInterop (#12384) 2024-02-20 17:24:46 -08:00
Andrew Heard 7db032cbfb Update async/await availability comments to "iOS 13+" (#12261) 2024-01-10 14:38:36 -05:00
Paul Beusterien 0fe8385fe6 Remove unnecessary compiler checks for Concurrency support (#12232) 2024-01-03 07:04:02 -08:00
Paul Beusterien 393d768eb4 Update CI to Xcode 15.1 (#12216) 2023-12-27 07:39:47 -08:00
Andrew Heard 9460b8226e [Database] Remove outdated FLevelDBStorageEngineTests test (#11478)
The test `testExtremeDoublesAsServerCache` only applies to iOS < 11. Removed the test since our minimum deployment target is already iOS 11. This also resolves the test failure on visionOS.
2023-06-26 11:59:50 -04:00
Nick Cooke 867697b8f3 [Infra] Upgrade to clang-format16 (#10973) 2023-03-20 12:47:43 -04:00
Nick Cooke 96d07fe973 [Infra] Favor SWIFTPM_MODULE_BUNDLE macro over C function across repo (#10625)
* [Infra] Favor SWIFTPM_MODULE_BUNDLE in RC unit tests

* Favor across repo
2022-12-29 18:23:29 -05:00
Paul Beusterien aefb2a469b Make RTDB integration tests runnable on a real target (#9688) 2022-04-22 14:27:20 -07:00
Jan WyszynskiandRyan Wilson 8a9e385eb4 Make getDataWithCompletionBlock snapshot nullable (#9655)
* Make getDataWithCompletionBlock snapshot nullable

* fix DatabaseAPITests

* update changelog

* fix changelog

* breaking change

* Capitalize Swift

Co-authored-by: Ryan Wilson <wilsonryan@google.com>
2022-04-19 20:27:31 -04:00
Ryan Wilson 73279db127 Enable async/await APIs for iOS 13, etc. (#9540)
* Enable async/await APIs for iOS 13, etc.

This bumps the required compiler version to 5.5.2 which was included in
Xcode 13.2, where backporting was first introduced.

This breaks less developers and enables developers who aren't using
these APIs to still compile using Xcode 13.0 and 13.1.

As far as I can tell, the only breakage this includes now is developers
who are using Xcode 13.0 or 13.1, targeting iOS 15 and using one of
these 7 APIs. It will result in a compiler error and they'll have to
either use the completion handler version or upgrade to Xcode 13.2+ to
fix the compilation error.

* Missed checks, CHANGELOG

* Fixed avialability, added watchOS for RTDB

* Moved to watchOS 7 for all async/await APIs to match platform support
2022-04-01 09:56:33 -04:00
Nick Cooke a09083f9d0 [v9] Reorganize FirebaseCore* modules (#9482)
* [skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`

* Reorganize FirebaseCore libraries for SPM and CP

* [skip ci] Revert "[skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`"

This reverts commit 2a837e39708c21b0a324743ab226bd6c01047de7.

* Review and fix CI

* Remove `heartbeat_logging.yml` and add `core_internal.yml`

* Remove trailing whitespace

* Fix more whitespace 😞

* Fix `core_internal.yml` scheme name

* Update `check_imports.swift` and TODO

* Review

* Add FirebaseCoreInternal pod to Firestore example's Podfile

* [skip ci] Review - remove TODOs

* [skip ci] Remove duplicate `XCTest` import
2022-03-23 06:08:14 -07:00
Paul Beusterien a1cb5656fc Auth and Messaging Interop for Swift (#9314) 2022-03-23 06:08:13 -07:00
Paul Beusterien 4f793064da Set up Core Internal for SPM (#9298) 2022-03-23 06:07:17 -07:00
Paul Beusterien 5e8790d78a Update to SwiftFormat 0.49.2 (#9239) 2022-01-21 13:03:15 -08:00
Paul Beusterien 1b34c4c90b Remove unused 3P source from RTDB tests (#9217) 2022-01-18 12:19:19 -08:00
Morten Bek Ditlevsen f9b583963e Attempt at fixing issue with getting next and previous push id (#8817) 2022-01-10 16:16:52 -08:00
Nick Cooke d6e7bb7d38 Update async-related directives in Swift build tests (#9063)
* Update directives in Swift build tests

* Fix CoreAPITests

* Fix CoreAPITests 2

* Fix installations and style
2021-12-09 14:30:43 -05:00
Paul Beusterien e33695557a Fix URL handling bug when path is a substring of host (#8880) 2021-11-01 09:55:14 -07:00
Paul Beusterien 62827f36b2 Fix DatabaseUnitSwift Xcode 13.0.0 build (#8837) 2021-10-20 15:18:41 -07:00
Paul Beusterien 33692eb578 Fix Remote Config Integration CI (#8774) 2021-10-11 07:38:51 -07:00
Paul Beusterien c7c0149351 Update to clang-format@13 (#8739) 2021-10-04 07:52:21 -07:00
Nick Cooke 540b7e8a9a Get Database Swift API Test building on Xcode13b4 (#8466)
* Test builds for Xcode13b4

* Fix comment mistake
2021-07-30 13:07:22 -04:00
Jesus Crespo 7633a59a18 Database API build tests (#8396)
* Add tests for Database and DatabaseQuery

* Add tests for DatabaseReference

* Add tests for DataEventType

* Add tests for DataSnapshot

* Add tests for MutableData

* Add tests for ServerValue

* Add tests for TransactionResult

* Fix CI for CocoaPods

* Fix CI for SPM and style

* Improve readability

* Fix CI for tvOS

* Refactor type checking

* Fix comments

Add unsurfaced parameter names and shorten async lines

* Fix switch conditional evaluates to a constant

* Fix type checking

* Shorten switch statement

* Add to SPM tests
2021-07-22 16:50:30 -05:00
Paul Beusterien 0d90f2f12d Update to clang-format 12.0.1 (#8397) 2021-07-16 11:40:42 -07:00
Jan Wyszynski 41b0073999 Dispatch getData callbacks on FRepo callback queue (#8247) 2021-07-16 05:48:57 -07:00