Commit Graph
7 Commits
Author SHA1 Message Date
Ryan Wilson f60577f781 watchOS support for RTDB (#7656)
* Initial attempt for watchOS Database support

* watchOS Package manifest changes for SwiftPM testing.

* Fix iOS compilation

* Further iOS changes

* Further watchOS changes

* Reverted !WATCHOS && 0 change, fixed SharedTestUtils

* Proper logging, using positive if statements

* Properly handle lifecycle changes on watchOS sockets.

Also only log errors if we haven't closed things intentionally.

* Cleanup:

- Removal from outdated sample
- Fixed podspec
- Fixed Swift Package

* Actually restore SwiftPM XCScheme

* Restore ExtensionDelegate.swift

* Revert all changes to ExtensionDelegate.swift

* Cleanup from code review.

* Style

* Added CHANGELOG entry.

* Review comments.

* Style.sh

* Remove unnecessary wrappers for SwiftPM

* Review feedback

* Formatting
2021-03-12 14:19:16 -05:00
Jan WyszynskiandSebastian Schmidt 95aac941d9 Implement get for RTDB queries (#7264)
* Implement RTDB Query get

* changelog

* Mark query inactive after callback

* Add tests, fix some issues

* some small fixes

* Fix tests

* Review feedback

* Address review feedback + fixup tests

* Remove extra logs

* Update FirebaseDatabase/Sources/Core/FPersistentConnection.m

Co-authored-by: Sebastian Schmidt <mrschmidt@google.com>

* Review feedback

* Write to unique paths

* Removed FIR prefix

* Add _Nullable specifiers in FRepo.h

* format nullability stuff

* fix get cache test

* goOnline in when get tests finish to avoid interference

* Address review feedback

Co-authored-by: Sebastian Schmidt <mrschmidt@google.com>
2021-01-07 17:41:32 -08:00
Paul Beusterien f8c6459b56 Revert "Implement RTDB Query get (#7110)" (#7262)
This reverts commit 55f27b5482.
2021-01-07 07:36:02 -08:00
Jan WyszynskiandSebastian Schmidt 55f27b5482 Implement RTDB Query get (#7110)
* Implement RTDB Query get

* changelog

* Mark query inactive after callback

* Add tests, fix some issues

* some small fixes

* Fix tests

* Review feedback

* Address review feedback + fixup tests

* Remove extra logs

* Update FirebaseDatabase/Sources/Core/FPersistentConnection.m

Co-authored-by: Sebastian Schmidt <mrschmidt@google.com>

* Review feedback

* Write to unique paths

* Removed FIR prefix

* Add _Nullable specifiers in FRepo.h

* format nullability stuff

* fix get cache test

Co-authored-by: Sebastian Schmidt <mrschmidt@google.com>
2021-01-05 17:07:05 -08:00
Paul Beusterien a995dc4f59 RTDB - new public header structure (#6171) 2020-07-31 07:22:02 -07:00
Paul Beusterien 7cb6f96cfd Repo-relative imports for Database (#5861) 2020-06-22 07:58:52 -07:00
Paul Beusterien fa72963bfd Update FirebaseDatabase to canonical directory structure (#5860) 2020-06-22 07:26:07 -07:00