Commit Graph
48 Commits
Author SHA1 Message Date
Nick Cooke cf1b9419ea [Firestore] Remove FirestoreSwift (#13085) 2024-06-06 17:16:04 -04:00
Paul Beusterien 1a0d39a329 Merge remote-tracking branch 'origin/main' into auth-swift 2024-05-08 13:59:34 -07:00
Sheikh Bayazid e8a12e04c2 Improve/use shorthand syntax for unwrapping optionals and fix typos (#12369) 2024-05-03 08:50:20 -07:00
Paul Beusterien 87306686ee SwiftFormat update 2023-11-21 21:25:23 -08:00
Paul Beusterien bcac846589 Merge remote-tracking branch 'origin/master' into auth-swift 2023-11-21 21:08:51 -08:00
Paul Beusterien 4d2b60dc75 Updated to SwiftFormat 0.52.10 (#12125) 2023-11-21 12:12:05 -08:00
Paul Beusterien 7d82f4e3af Merge origin/master to auth-swift 2023-10-06 15:17:37 -07:00
Andrew Heard 6a0c4f5fd6 [Combine] Remove canImport(Combine) and swift(>=5.0) checks (#11668)
Firebase 7.2+ requires Xcode 12+, which includes Combine support and Swift 5.3; the canImport(Combine) and swift(>=5.0) checks should now be extraneous.
2023-08-09 15:35:06 -04:00
Paul Beusterien b3bebe4eec [auth-swift] Restore SPM (#11280) 2023-07-11 16:22:41 -07:00
ae871b9dc1 Update to swiftformat 0.51.12 (#11531)
Co-authored-by: Andrew Heard <andrewheard@google.com>
Co-authored-by: Nick Cooke <nickcooke@google.com>
2023-07-11 15:54:51 -07:00
Evan Cooper 3318bdab09 Use caller's encoder when seting document data (#11034) 2023-03-29 10:08:47 -07:00
Paul Beusterien fda78167b3 Fix typo (#10610) 2022-12-27 13:53:53 -08:00
Paul Beusterien 67ed968e66 StorageAuthorizer to Swift (#10117) 2022-09-21 16:32:13 -07:00
Paul Beusterien 7402150b2c FirebaseStorage[ObjC] to FirebaseStorageInternal (#9598) 2022-04-08 08:45:01 -07:00
Paul Beusterien 8791b6bceb Merge FirebaseStorageSwift and FirebaseStorage (#9045) 2022-04-04 13:20:05 -07:00
Peter Friese c5bdde98f0 Register Combine modules with Swift component system (#9562) 2022-04-04 16:38:36 +02:00
Paul Beusterien 74fa16f236 Remove Functions ObjC (#9333) 2022-03-23 06:08:13 -07:00
Paul Beusterien bba0e3468d Combine tests ported to depend on Swift Functions (#9332) 2022-03-23 06:08:13 -07:00
Paul Beusterien 5e8790d78a Update to SwiftFormat 0.49.2 (#9239) 2022-01-21 13:03:15 -08:00
Paul Beusterien 2d4e13962e Storage async await (#8289) 2021-07-23 15:45:36 -07:00
Peter Friese fc0455b832 Remove canImport directives
Signed-off-by: Peter Friese <peter@peterfriese.de>
2021-07-02 19:31:01 +02:00
Lorenzo Fiamingo 38948c6637 Merge branch 'master' into combine-main 2021-06-29 15:47:36 +02:00
Peter Friese 4c26b5a9d4 🧹 Cleanup
Signed-off-by: Peter Friese <peter@peterfriese.de>
2021-06-29 14:40:21 +02:00
Nick Cooke 898b9fb50f FirebaseCombineSwift: Docs & API cleanup (#8088)
* Docs & API cleanup

* Style

* Review

* Review 2

* Review 3

* Review 4

* Review 5
2021-05-19 09:43:43 -04:00
Paul BeusterienandPeter Friese 2f457c268d Port Storage Integration tests to Combine (#7959)
* Another take on verifying expected errors. (#7982)
Hat tip to https://heckj.github.io/swiftui-notes/#patterns-testing-and-debugging
Signed-off-by: Peter Friese <peter@peterfriese.de>

Co-authored-by: Peter Friese <peter@peterfriese.de>
2021-05-05 12:29:35 -07:00
Chen Liang 429bac463c Remove InstanceID from Github repo (#7970) 2021-04-27 11:54:03 -07:00
Peter Friese e09a40b0c3 Wrap long line
Signed-off-by: Peter Friese <peter@peterfriese.de>
2021-04-14 20:31:24 +02:00
Peter Friese 1d668f24ef Fix Auth API availability for macOS
Signed-off-by: Peter Friese <peter@peterfriese.de>
2021-04-14 20:27:25 +02:00
Peter Friese a82838c2b3 Fix formatting
Signed-off-by: Peter Friese <peter@peterfriese.de>
2021-04-14 17:06:16 +02:00
Peter Friese 77b9e489ff Multi-factor auth and PhoneAuth aren’t available on tvOS
Signed-off-by: Peter Friese <peter@peterfriese.de>
2021-04-14 16:29:37 +02:00
Paul Beusterien eebc149553 Combine Storage: Futures are Results (#7870) 2021-04-09 21:33:38 +02:00
Paul Beusterien ff68d2e0af Use Result type APIs for Storage Combine (#7862)
* Use Result type APIs for Storage Combine
* Allow internal public header from another public header
* Delete redundant check job
2021-04-08 09:23:46 +02:00
Tamim ziad d2ebadeb0e Combine: PhoneAuthProvider + MultiFactor Publishers (#7734)
* Add Publishers for MultiFactor
* Add PhoneAuthProvider publishers
* Firebase Auth testing support types and utilities.
* Add FIRPhoneAuthProviderFake
* Add tests for PhoneAuthProvider
2021-04-06 22:33:49 +02:00
Tamim ziad df05664f1b Combine storage: Add publishers for StorageReference (#7687)
* Add Combine support for Firebase Storage
* Add Publishers for putData(:metadata) and putFile(:metadata)
* Add combine publishers for `StorageReference`
* Add tests for publishers putData(:metadata) and putFile(:metadata)
2021-04-06 22:32:36 +02:00
Lorenzo Fiamingo a8b716ba3a 🎨 Format code 2021-03-29 16:44:50 +02:00
Lorenzo Fiamingo 614d18a35b 🎨 Format code 2021-03-23 00:08:44 +01:00
Lorenzo Fiamingo 8cf9890a77 ✏️ Fix typo 2021-03-23 00:08:27 +01:00
lorenzofiamingo 3193613f2e ✨ Add Firestore support to FirebaseCombine 2021-02-27 13:14:50 +01:00
Peter Friese 5063d9fba5 Combine Support: Cloud Functions (#7547)
* Add Combine support for Cloud Functions
* Un-hide the initialiser and implement MockCallableResult
* Make initWithData public
* Update changelog
* Fix formatting
2021-02-26 22:19:01 +01:00
Tamim ziad df5c13a441 Combine support to send verification email (#7602)
* ✨ Add publisher to send verification email
* 🧪 Add tests for sendEmailVerification(with:)
* 💄  Fix formatting
2021-02-26 18:37:13 +01:00
Tamim ziad ce1034a192 Mark GameCenterAuthProvider as unavailable on WatchOS (#7599)
Thanks for the fix, @ziadtamim.
2021-02-26 18:22:21 +01:00
Tamim ziad 9ac2cde1f8 Creates auth credential for Game Center sign in (#7548)
* ✨ Add publisher to create `AuthCredential` for Game Center sign in
* 🪡 Refactor publisher name
* 🧪  Add tests for signIn(withGameCenter:)
* 🧪  Add tests for GameCenterAuthProvider
* 🧹  Fix formatting
2021-02-23 12:01:47 +01:00
Tamim ziad 0f1e778a1f Combine Support: Disassociate user account from 3P IdP (#7580)
* ✨ Add publisher to disassociates a user account from provider
* 🧪 Add tests for unlink(fromProvider:)
* 💄 Fix formatting
2021-02-23 10:06:00 +01:00
Tamim ziad 0144cf0850 Combine Support: Renew the user authentication (#7534)
* ✨ Add publisher renews user's authentication
* 🧪 Add tests for reauthenticate(with credential:) in User
* 💄 Fix style
* 🪡 Fix names
* ✔️ Address feedback from review
2021-02-17 10:30:31 +01:00
Tamim ziad 9249367f32 Combine Support: Link user from a third-party provider (#7504)
* ✨  Add publisher link user from a third-party provider
* 🧪 Add tests for link(with credential:) in User
* 💄  Fix style
* ✔️ Address feedback
2021-02-15 11:51:01 +01:00
Tamim ziad 0eda821449 Combine Support: getCredentialWith(_:) in OAuthProvider (#7446)
* ✨ Add publisher for getCredentialWith(_:) in OAuthProvider
* 🧪 Add tests for getCredentialWith(_:) in OAuthProvider
* 🪡  Place OAuthProvider at the source
2021-02-04 21:36:15 +01:00
Tamim ziad aac9095884 Combine Support: add support for Sign in with 3rd party credentials (#7248)
* ✨  Add publisher for signing in with credentials
* ✨  Add publisher for resolving sign in with assertion
* ✨Add publisher for verifying phone number ownership
* 🧪 Add tests for SignInWithCredential
* 🗞  Update README for Sign in with credentials
2021-01-23 14:08:17 +01:00
Peter Friese d90594069a Add basic support for Combine (#6976)
* 🎉 Add basic infrastructure for supporting Combine in Firebase
* ✨ Add publisher for AuthStateListener
* 💉 Add podspec for FirebaseCombineSwift
* 🖋️ Add changelog
* 👩🏻‍🔬 Add basic test infrastructure
* 📦 Export combine support on a per-SDK basis
2021-01-13 17:13:46 +01:00