Paul Beusterien
a7ab2ca184
the the typos ( #9726 )
2022-04-28 10:06:21 -07:00
Rosalyn Tan
dc45185045
Fix keychain access issues caused by prewarming ( #9622 )
...
* Try listening to `UIApplicationProtectedDataDidBecomeAvailable`.
* Handle platform availability.
* More platform availability handling.
* Fix static analysis issue.
* Update changelog.
2022-04-19 16:03:01 -07:00
Morgan Chen
c148216344
Fix import bug ( #9624 )
...
* Fix import bug
* add test
* make test better
2022-04-11 12:03:29 -07: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
Paul Beusterien
7b946765ec
Remove slashes from log messages ( #9391 )
2022-04-06 14:19:47 -07:00
Nick Cooke
325e13ac0b
[Heartbeat Logging] Migrate Auth from using FIRHeartbeatInfo to FIRHeartbeatLogger ( #9556 )
...
* Integrate Auth with FIRHeartbeatLogger
* Add unit tests
* Add env var to auth.yml
* Fix CI
* Fix CI (pt. 2)
* [skip ci] Remove outdated forward declaration
* [skip ci] Update convenience initializer's doc
* [skip ci] Update test method doc
* [skip ci] Improve comment clarity
* [skip ci] Review
* [skip ci] Fix typo
2022-04-06 13:33:15 -04:00
Paul Beusterien
99275370a2
Merge remote-tracking branch 'origin/master' into v9b
2022-04-06 09:56:33 -07:00
a-25
7db1ebcff2
Added NS_ERROR_ENUM to Firebase Auth, breaking changes ( #7723 ) ( #9000 )
...
* Added NS_ERROR_ENUM to Firebase Auth, breaking changes (#7723 )
* Added NS_ERROR_ENUM to Firebase Auth, breaking changes (#7723 ), code style
2022-03-31 17:41:18 -04:00
Morgan Chen
7a273e7bae
fix returns typo ( #9541 )
2022-03-31 11:37:45 -07:00
Nick Cooke
a09083f9d0
[v9] Reorganize FirebaseCore* modules ( #9482 )
...
* [skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`
* Reorganize FirebaseCore libraries for SPM and CP
* [skip ci] Revert "[skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`"
This reverts commit 2a837e39708c21b0a324743ab226bd6c01047de7.
* Review and fix CI
* Remove `heartbeat_logging.yml` and add `core_internal.yml`
* Remove trailing whitespace
* Fix more whitespace 😞
* Fix `core_internal.yml` scheme name
* Update `check_imports.swift` and TODO
* Review
* Add FirebaseCoreInternal pod to Firestore example's Podfile
* [skip ci] Review - remove TODOs
* [skip ci] Remove duplicate `XCTest` import
2022-03-23 06:08:14 -07:00
Ryan Wilson
e002709d2c
Mark ObjC typedefs as unavailable in Swift. ( #9387 )
...
* Mark ObjC typedefs as unavailable in Swift.
This is part of the larger Swift API improvements effort. These reduce
visibility in autocomplete, and we've mostly migrated away from them
already. This hides the unused type from the API surface to avoid
cluttering the list of types avialable.
* Revert FDL Test
* Fix CombineSwift tests
* Fixed Firestore tests
* Revert unneeded changes for FDL internal headers.
2022-03-23 06:08:14 -07:00
Paul Beusterien
a1cb5656fc
Auth and Messaging Interop for Swift ( #9314 )
2022-03-23 06:08:13 -07:00
Paul Beusterien
4f793064da
Set up Core Internal for SPM ( #9298 )
2022-03-23 06:07:17 -07:00
Rosalyn Tan
0fb31ac579
Add user agent and heartbeat headers. ( #9066 )
...
* Add user agend and heartbeat headers.
* Update changelog.
* Update changelog.
2022-03-15 11:41:35 -07:00
Rosalyn Tan
2e2da71142
Partial fix for expired ID token issue ( #9253 )
...
* Brainstorm fix for expired ID token issue.
* Only retry once, in case of clock skew, and fix unit tests.
* Fix FIRAuthTests.
* Modify check to be for if the token will expire within 5 minutes.
* Update changelog.
2022-01-28 10:39:52 -08:00
Paul Beusterien
a3a942b997
Add Swift API coverage tests for Auth ( #9255 )
2022-01-26 07:33:45 -08:00
Nick Cooke
b1c5428c72
[Auth] Added note to getStoredUser(forAccessGroup:) documentation about tvOS keychain sharing issues ( #9244 )
...
* Add note about tvOS keychain sharing issue
* Update Auth CHANGELOG
* Review
* Log error when running on tvOS and sharing auth state
* Update API docs
* Update changelog
* Style
* Improve message clarity
* Style
* Review 2
* Review 3
2022-01-24 17:58:59 -05:00
Kamil Powałowski
480178b087
[Auth] Fixed macOS extension keychain access by adding recommended kS… ( #9102 )
...
* [Auth] Fixed macOS extension keychain access by adding recommended kSecUseDataProtectionKeychain key
* Refactored FIRAuthStoredUserManager to extract keychain query building to separated function.
2021-12-20 18:11:33 -05:00
Rosalyn Tan
944416b38b
Add multi-tenancy support to generic OAuth providers. ( #9100 )
...
* Add multi-tenancy support to generic OAuth providers.
* Update unit tests.
* Update changelog.
* Link issue instead of PR in changelog.
2021-12-16 11:46:32 -05:00
Rosalyn Tan
474b6c3526
Remove reference to non-existent protocol. ( #9095 )
2021-12-14 10:27:36 -08:00
Rosalyn Tan
67038afb46
Remove unused STS auth code flow. ( #9094 )
...
* Remove unused STS auth code flow.
* Fix unit tests.
2021-12-13 17:45:55 -08:00
Rosalyn Tan
c7f80c14c2
Add app ID header to Firebase Auth ( #9046 )
...
* Add user agent and heartbeat headers to Firebase Auth.
* Add app ID header.
* Fix unit tests.
* Remove user agent and heartbeat headers, as backend support is not yet ready.
* Fix typo.
* Update changelog.
2021-12-08 15:10:16 -08:00
Paul Beusterien
c7c0149351
Update to clang-format@13 ( #8739 )
2021-10-04 07:52:21 -07:00
Akira MATSUDA
706f93967e
Support multi-factor authentication with email link sign in ( #8705 )
...
* Support multi-factor authentication for email link sign in.
* Ran scripts/style.sh
* Add documentation
2021-09-29 13:18:32 -04:00
Rosalyn Tan
ab74442509
Improve error logging for FIRAuthInternalErrorCodeUnexpectedErrorResponse errors ( #8704 )
...
* Add underlyingError to FIRAuthInternalErrorCodeUnexpectedErrorResponse errors.
* Revert some formatting changes that make it hard to see the actual diffs.
* Fix unit tests.
* Apparently the formatting is required.
* Update changelog.
* Re-ran the formatting script after updating clang-format.
2021-09-28 16:08:55 -04:00
Rosalyn Tan
90ccc5959e
Fall back to reCAPTCHA verification in phone auth if push notification is not received ( #8653 )
...
* Fall back to reCAPTCHA verification if the APNs notification for verifying the application is not received before the timeout.
* Add unit test.
* Update changelog.
* Refactor tests.
2021-09-14 17:21:11 -07:00
Morgan Chen
9b4c5c06f3
Auth: Remove all #ifs in favor of API_UNAVAILABLE ( #8451 )
...
* Remove all #ifs in favor of API_UNAVAILABLE
* fix build
* style
* Fix FIRAuthUIDelegate availability
* fix availability for real this time
* Add headerdoc comments
* Add changelog
2021-07-30 09:20:35 -07:00
Paul Beusterien
efc802452d
Bump travis to 12.5 ( #8411 )
2021-07-19 13:08:21 -07:00
Paul Beusterien
0d90f2f12d
Update to clang-format 12.0.1 ( #8397 )
2021-07-16 11:40:42 -07:00
Nick Cooke
89f237ae78
Swift first exception messages ( #8295 )
...
* Swift first exception messages
* Review
* Minor edit
* Minor edit 2
2021-06-25 11:25:23 -04:00
Rosalyn Tan
cb0bde5b4c
Bug fix in account linking flows ( #8196 )
...
* Fix bug where stored ID token is not updated after linking account with email link.
* Update changelog.
* Fix the Game Center and phone auth flows as well.
* Update upcoming release version number in changelog.
2021-06-14 15:29:49 -07:00
Paul Beusterien
446b4528e3
Fix style issue from quick merge of 8214 ( #8216 )
2021-06-08 11:55:06 -04:00
Paul Beusterien
05819acf2e
Add check to address 8210 review ( #8214 )
...
* Add check to address 8210 review
* NULL not nil
2021-06-08 10:58:45 -04:00
Paul Beusterien
1402fc36aa
Fixed analyze issues introduced in Xcode 12.5 ( #8210 )
2021-06-08 10:10:44 -04:00
Chen Liang
429bac463c
Remove InstanceID from Github repo ( #7970 )
2021-04-27 11:54:03 -07:00
Paul Beusterien
c4e994c7c4
Update to clang-format 12 ( #7909 )
2021-04-16 09:17:41 -07:00
Morgan Chen
6245948969
Fix #7670 ( #7906 )
...
* Fix auth settings crash on copy
* release notes
* fix compiler complaint
2021-04-15 16:10:37 -07:00
Joe Hinkle
b807226e2c
fix for _userAccessGroup being nil when getStoredUserForAccessGroup is called ( #7472 )
...
* shareLoginAcrossDevices
* shareLoginAcrossDevices
* shareLoginAcrossDevices
* shareLoginAcrossDevices
* formatting
* feedback changes
* linted
* setting _userAccessGroup needs to happen before getStoredUserForAccessGroup is called, because otherwise on first app launch, _userAccessGroup will be null, making it impossible for the app to find the shared keychain
* proper fix as suggested by rosalyntan
2021-03-01 17:08:04 -08:00
Rosalyn Tan
9fadbafc5d
Add debug logging around token expiration ( #7461 )
...
* Add debug logging around token expiration.
* Use FIRLogger instead of NSLog.
* Move log statement.
* Add another log statement when access token is updated.
2021-02-05 12:49:11 -08:00
Peter Friese
a6b1c3da2c
Fix import for watchOS ( #7423 )
...
This needs to be TARGET_OS_WATCH (also see the corresponding .m file, where it actually already is TARGET_OS_WATCH)
#no-changelog
2021-02-02 14:19:35 +01:00
Rosalyn Tan
601497bbbd
Allow http schemes when using the auth emulator ( #7350 )
...
* Allow http schemes when using the auth emulator.
* Update changelog and fix formatting.
* Update changelog.
2021-01-22 10:53:44 -05:00
Joe Hinkle
ae854d8357
Sync login state across all Apple user's devices ( #6924 )
...
* shareLoginAcrossDevices
* shareLoginAcrossDevices
* shareLoginAcrossDevices
* shareLoginAcrossDevices
* formatting
* feedback changes
* linted
2021-01-06 13:55:19 -05:00
Chuan Ren
f9e5be183a
Enable multi tenancy for email link sign in ( #7246 )
2021-01-05 12:37:16 -08:00
Rosalyn Tan
e09c321bcd
Check if reverse client ID is a registered URL scheme before setting callback scheme ( #7211 )
...
* Check if reverse client ID is registered as a custom URL scheme before setting it as the callback scheme.
* Fix existing tests.
* Add tests.
* Update changelog.
2021-01-05 14:44:51 -05:00
Paul Beusterien
57abe06831
Fix typo in Auth Error string ( #7145 )
2020-12-10 11:07:12 -08:00
Rosalyn Tan
289e093f89
Replace "whitelist" with "allowlist" in the Auth source code. ( #7120 )
2020-12-07 15:48:06 -05:00
Vahagn Gevorgyan and Vahagn Gevorgyan
a8dd5f196c
MacOS auth issue fix. ( #7050 )
...
* MacOS auth issue fix.
On MacOS 11 catalyst apps when trying to open SFSafariViewController the default browser opens and the safariViewControllerDidFinish(_ controller: SFSafariViewController) delegate method calls immediately.
* TARGET_OS_MACCATALYST usige style fixed.
* Fix elif macro issue.
* Fixed wrong file changes.
* Fix formatting.
Co-authored-by: Vahagn Gevorgyan <vahagn.gevorgyan@picsart.com >
2020-11-30 12:01:20 -05:00
Rosalyn Tan
474a3aa85b
Fix documentation typos in FIROAuthProvider. ( #6994 )
2020-11-19 08:37:47 -08:00
Mike Gerasimenko
c8de4fcc03
FCM: Fix crash on iOS 14 when multiple app delegate completion methods are called ( #6863 )
...
* Fix crash on iOS 14 when multiple completion methods are called
* Fixed lint
* Addressed the PR comments & implemented unit tests
* Reverted auto-extracted method
* Re-organized tests
* Added completion handler for FIRAuth
2020-11-05 17:31:53 -05:00
Rosalyn Tan
5b7e857029
Allow Generic OAuth for Facebook and Apple when using the auth emulator. ( #6702 )
2020-10-08 14:09:08 -07:00