a5859f9cec
Add property wrapper for Firestore ( #8614 )
...
* Add FIRRequest
* Make FIRPredicate public
* Make init public
* Bugfixes
* Add debug print
* Move to main thread
* Undo "Move to main thread"
* Add FirebaseStore
* Add placeholder value
* Treat CollectionReference as Query
* Change let to var
* Replace getDocuments with addSnapshotListener
* Feedback from review
* Add sample project
* Rename folder, Rename FirebaseStore to QueryStore, Rename FIRRequest to FirestoreQuery, Rename several functions, attributes and parameter labels, Extend error handling
* Update some access specifiers, Add factory methods
* Add orderBy and limitTo
* Update Copyright, Rename FIRPredicate to QueryPredicate, Rename QueryStore to FirestoreQueryObservable, Rename some parameters, Remove setter for wrappedValue
* Rename store to firestoreQueryObservable
* Add limitToLast
* Move different types to different files
* Add FirestoreQueryConfiguration and projectedValue to dynamically change predicates & collectionPath
* Add Documentation
* Update documentation
* Add example app
* Address feedback from review
* Fix whitespace
* Address feedback from review
* Update data
* Add error handling (Manually cherry pick from Morten's PR: https://github.com/chFlorian/firebase-ios-sdk/pull/2 )
* Update sample app to demonstrate error handling
* Cleanup
* Fix warning regarding unwrapping
* Fix tvOS availability
* Fix typos
* Experimental: use @FirestoreQuery inside a view model (Hint: this doesn't work)
* Fix platform availabilities
* Update data
* Improve error handling
* Cleanup
* Address feedback from review
* Update data
* Cleanup
* Alternate signature for predicates
* Address feedback from review
* Remove trailing backtick
Co-authored-by: Florian Schweizer <post.an.flo@gmail.com >
Co-authored-by: Morten Bek Ditlevsen <bek@termestrup.dk >
2021-10-06 13:56:31 +02:00
Peter Friese
7999fd32f6
Activate community support for Combine in Firebase 🔥
...
* Updated package naming, to highlight this is a community-supported effort
* Targets are named `Firebase<Product>CombineSwift, to allow `import Firebase<Product>CombineSwift`
* Removed umbrella package
* Packages are named `Firebase<Product>Combine-Community`
* Updated sample app to match new package structure
* Updated installation instructions
* Updated README
* Updated changelog.
2021-10-01 10:41:09 +02:00
Peter Friese
f9929d0a9a
Combine: Add a sample app ( #8113 )
...
A SwiftUI app that shows how to use the Combine-enabled APIs in context.
The app contains a basic drill-down menu navigation and a simple screen that shows how to use Anonymous Auth and authStateDidChangePublisher.
As we add more publishers, their use should be demonstrated in this app as well.
The app currently needs a prod Firebase project, so one of the next steps will be to enable it for local Emulators.
#no-changelog
2021-05-20 18:20:35 +02:00
Chen Liang
429bac463c
Remove InstanceID from Github repo ( #7970 )
2021-04-27 11:54:03 -07:00
Paul Beusterien
b163ec5058
Firebase pod support for watchOS for RC and RTDB ( #7841 )
2021-04-05 11:41:33 -07:00
Chen Liang
cb860013f0
Cleanup bad uses of andDo blocks ( #7584 )
2021-02-23 13:40:55 -08:00
Paul Beusterien
cf49cbaa54
Incorporate SpecsDev ( #7561 )
2021-02-19 07:18:59 -08:00
Chen Liang
80a45125a0
Enable watchOS for Remote Config and ABTesting ( #7481 )
2021-02-12 11:41:35 -08:00
Paul Beusterien
54d28547d3
Remove GDT from repo ( #7384 )
2021-01-27 07:51:12 -08:00
Paul Beusterien
02488e99b7
Remove GoogleUtilities from repo ( #7315 )
2021-01-21 07:09:50 -08:00
Ryan Wilson
90cb05ce60
Remove dynamic framework count from diagnostics. ( #7311 )
...
* Remove dynamic framework count from diagnostics.
This was previously used to help determine if Firebase should switch to
using dynamic frameworks, but now developers have the option themselves.
Fixes #7310
* Added changelog
* Style
* Style
2021-01-15 13:38:12 -05:00
Maksym Malyhin and Paul Beusterien
497d08b71d
Core: fix and cleanup notification center tests ( #7244 )
...
* Fix log diagnostics tests and remove unused notification
* Replace deprecated OCMock methods with notification expectations
* Bump Core and CoreDiagnostics versions
* Defer Core version update until release
Co-authored-by: Paul Beusterien <paulbeusterien@google.com >
2021-01-05 12:22:06 -05:00
Chen Liang
6ffc845b05
Check token is different from cache and storage before updating it ( #7223 )
2020-12-29 16:12:06 -08:00
Paul Beusterien
451a6c24c2
Restore Catalyst unit testing in CI ( #7185 )
2020-12-17 07:45:13 -08:00
Maksym Malyhin
f198987a1a
Firebase user agent: additional fields for platform logging ( #6429 )
...
* Move firebase user agent logic to a separate class.
* FIRAppTest: prefix some tests with the tested method names
* FIRAppTest: user agent new fields tests
* New user agent field added.
* Headers
* API docs
* ./scripts/style.sh
* nullability fix
* Move environment info methods to GoogleUtilities
* GULAppEnvironmentUtilTest
* GULAppEnvironmentUtil swift tests
* FirebaseApp user agent swift flag test
* ./scripts/style.sh
* Cleanup CoreDiagnostics
* Nullable device model
* FIRCoreDiagnosticsTest fix
* Merge fixes
* Fix import
* rename
* Cleanup GUL imports (since all headers are public now)
2020-10-13 08:53:42 -04:00
Maksym Malyhin
a3a59c1bfc
FIS: require projectID and valid API Key format ( #6678 )
...
* FIRInstallations validation: remove GCMSenderID fallback for missing projectID
* FIRInstallationsIDController: remove GCMSenderID fallback for missing projectID
* Add API Key validation
* Changelog
* changelog
* Constant for API key lenght
* array] -> alloc] init]
* typo
* message
* ./scripts/style.sh
* Fix dummy API key in integration tests
* Update dummy API Keys to match the expected format
* debug test quickstart with no xcpretty
* fix debug
* Use debug QS repo branch
* print debug
* Add missing allowed characters `-`, `_`
* Nicer dummy API Keys
* Comment
* Revert "Use debug QS repo branch"
This reverts commit 69739dd6ae .
* Revert "fix debug"
This reverts commit 84fcbc7543 .
* Revert "debug test quickstart with no xcpretty"
This reverts commit 1fa21ed62a .
2020-10-07 17:25:03 -04:00
Paul Beusterien
27ecc468e4
Fix a google3 build error ( #6689 )
2020-10-07 13:55:36 -07:00
Maksym Malyhin
8eded3f5be
Remove deprecated -[FIRInstanceID appInstanceID:] ( #6677 )
...
* Remove deprecated -[FIRInstanceID appInstanceID:]
* changelog
* typo fix
2020-10-06 16:44:07 -04:00
Paul Beusterien
83e898ab5c
One Firebase version ( #6634 )
2020-10-02 12:26:22 -07:00
Paul Beusterien
5d0a1c8ccb
Merge remote-tracking branch 'origin/firebase7-main' into pb-merge-firebase7
2020-09-30 14:23:40 -07:00
Chen Liang
f0e7b8e195
Add InstanceID deprecation warning ( #6585 )
2020-09-29 13:35:31 -07:00
Paul Beusterien
f2bcd5d82b
Make all GoogleUtilities APIs public ( #6588 )
2020-09-29 07:26:10 -07:00
Paul Beusterien
89dd31a7ae
IID: repo-relative headers ( #6539 )
2020-09-23 11:00:54 -07:00
Chen Liang
ef0f51e116
Avoid using OCMock on NSOperation ( #6315 )
2020-08-21 11:45:58 -07:00
Paul Beusterien
a220ab1363
Add SPM support for CoreDiagnostics ( #6233 )
2020-08-10 07:46:19 -07:00
Chen Liang
2e028132de
Fix topic in watchOS ( #6209 )
2020-08-06 12:57:59 -07:00
Paul Beusterien
f1a5ee9514
Fix CoreDiagnostics test regression ( #6180 )
2020-07-31 11:38:53 -07:00
Chen Liang
edf1e6d7ce
Messaging: fix a warning in macOS build and sample podfile file path ( #6070 )
2020-07-17 15:58:13 -07:00
Paul Beusterien
60293c6dc4
Storage SPM Unit Tests ( #5976 )
2020-07-06 11:30:01 -07:00
Paul Beusterien
d653c9584c
Update copyright presubmit and fix 2020 copyrights ( #5944 )
2020-06-29 13:16:19 -07:00
Paul Beusterien
01bf549253
Update formatters ( #5933 )
2020-06-26 14:34:27 -07:00
Paul Beusterien
d617e99af5
Fix header style issue caught by copybara ( #5923 )
2020-06-25 17:27:38 -07:00
Paul Beusterien
5a5914da7e
GDT Repo-relative imports and SPM ( #5909 )
2020-06-24 17:50:15 -07:00
Paul Beusterien
e03a8d91a0
Consolidate GDT and GDTCCT to a single pod ( #5902 )
2020-06-24 14:09:46 -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
Paul Beusterien
c07c89ee75
Repo-relative imports for Installations ( #5832 )
2020-06-17 07:26:40 -07:00
Paul Beusterien
3f556ddb9e
Update GoogleUtilities' clients with repo-relative imports ( #5824 )
2020-06-16 09:05:29 -07:00
Paul Beusterien
e15724a436
Migrate from interop pods to source_files header access ( #5760 )
2020-06-09 06:09:27 -07:00
Paul Beusterien
d4621a636f
Use preserve_paths instead of CocoaPods private ( #5758 )
2020-06-09 05:21:28 -07:00
Sebastian Schmidt
e4f05d3d46
Add GMPID header to the RTDB SDK ( #5761 )
2020-06-08 14:37:07 -07:00
Paul Beusterien
851b0390f6
Separate Core private versus internal headers ( #5759 )
2020-06-08 09:18:31 -07:00
Paul Beusterien
66a44cb4f8
Migrate RTDB to GHA ( #5681 )
2020-05-27 09:29:27 -07:00
Sebastian Schmidt
885f296f3b
Update Database tests to run against the emulator ( #5650 )
2020-05-20 23:12:10 -07:00
Chen Liang
dabfd91dea
Move messaging sample app to the new FirebaseMessaging folder ( #5476 )
2020-04-27 16:31:17 -07:00
Chen Liang
793d763490
create firebase messaging folder ( #5445 )
2020-04-23 14:43:47 -07:00
Chen Liang
f60992fba0
Fix messaging GHA failure ( #5430 )
2020-04-21 15:44:35 -07:00
Chen Liang
1cb964f6a0
add settings to test app ( #5375 )
2020-04-20 15:23:35 -07:00
Chen Liang
447e544264
add a token refresh integration test in messaging ( #5358 )
2020-04-15 11:39:34 -07:00
Chen Liang
b279805779
fix a few places ( #5370 )
2020-04-14 15:47:55 -07:00