Commit Graph
12 Commits
Author SHA1 Message Date
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
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
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
Paul Beusterien 5e8790d78a Update to SwiftFormat 0.49.2 (#9239) 2022-01-21 13:03:15 -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 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
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