Commit Graph
13 Commits
Author SHA1 Message Date
Morgan Chen 7ad23807e5 add deprecation for watchOS (#10274)
* add deprecation for watchOS

* fix style script mangling link and run style

* rephrase deprecation message

* Add changelog
2022-09-27 16:00:50 -07:00
Iulian Onofrei 06fdcf02dc Database: Fix misleading documentation in childByAutoId (#10217) 2022-09-19 08:49:37 -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
Morgan Chen 9f2a3132fa Use Swift syntax in reference documentation (#9594)
* fix returns typo

* change some headers

* style

* the rest of the header comments

* revert changes to FIRStorageReference
2022-04-08 14:50:22 -07:00
Sebastian Schmidt 464d674f35 Add getData overload to DatabaseReference (#7377) 2021-01-26 16:39:02 -07:00
Jan WyszynskiandSebastian Schmidt 61e4671010 Add method documentation got getDataWithCompletionBlock (#7375)
* Add method documentation got getDataWithCompletionBlock

* Update FirebaseDatabase/Sources/Public/FirebaseDatabase/FIRDatabaseQuery.h

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

Co-authored-by: Sebastian Schmidt <mrschmidt@google.com>
2021-01-25 10:34:37 -08:00
Jan Wyszynski b1766c2fd6 Implement startAfter and endBefore for RTDB queries (#7209) 2021-01-13 18:34:05 -08: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
Morgan ChenandPaul Beusterien 90d3600c56 Implement unified emulator settings API proposal (#5916)
* Add header for API proposal

* Fix some bugs and add implmentation

* Fix header import

* Fix umbrella header

* Add ways to modify settings object

* Remove unnecessary nodoc

* Update with new API

* Add implementations for Firestore and RTDB

* Revert emulator settings class

* fix style

* Remove bad import and assertion on override

* Prevent database emu from being set after repo init

* Add unified emu to functions

* Add tests

* update header comment

* fix test failures

* remove unused variable

* fix database test

* cast NSInteger to long

* fix style

* Fix functions test in travis

* Remove valueForKeyPath in tests

* fix style

* update comments and remove explicit scheme

* save progress

* Implement reference validation for RTDB

* Add tests

* Add changelog entries

* Remove test logs

* Fix line lengths

* remove underlyingHost

* fix functions tests

* fix integration warnings in functions test

* fix functions test

* Fix infinite loop exposed in integration tests (#6912)

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2020-11-06 10:37:06 -08:00
Paul Beusterien a995dc4f59 RTDB - new public header structure (#6171) 2020-07-31 07:22:02 -07:00
Paul Beusterien fa72963bfd Update FirebaseDatabase to canonical directory structure (#5860) 2020-06-22 07:26:07 -07:00