Commit Graph
159 Commits
Author SHA1 Message Date
Nick Cooke afac1288c4 [auth-swift] Finish Auth refactoring to allow for injecting fake keychain instance for macOS tests (#11025)
* [auth-swift] User dummy keychain storage container for unit tests

* [auth-swift] Finish refactor to inject a fake keychain instance for macOS tests

* Fix CI

* Review
2023-07-11 16:20:59 -07:00
Nick Cooke 505414fcd0 [auth-swift] Port 'FIRAuthKeychainServicesTests.m' -> 'AuthKeychainServicesTests.swift' (#10831) 2023-07-11 16:12:08 -07:00
Paul Beusterien 3dd72ebc9a [auth-swift] Test improvements (#10829) 2023-07-11 16:12:05 -07:00
Nick Cooke 226287237f [auth-swift] Depend on FirebaseCoreExtension rather than making it a part of Auth's source (#10824) 2023-07-11 16:10:21 -07:00
Nick Cooke 3a8e3a397a [auth-swift] Remove module.modulemap as it is unneeded (#10778) 2023-07-11 16:09:10 -07:00
Nick Cooke 025ef90376 [FirebaseAuth] Expose non-public headers to Swift and build on iOS (#10755)
* Private header exposed to internal Swift impl via private module

* Include all non-public headers in private module map

* Add TODO and #if out import

* Prefer <...> imports and fix API visibility. See more...

- The private module map enables us to selectively expose non-public
  headers to Swift. Now, the internal APIs that were made public for the
  sake of exposing to Swift can be made internal again. Swift files that
  need access to non-public API should do the following:

    @_implementationOnly import FirebaseAuth_Private

- Additionally, any public header imported into a non-public header
  needs to use <...> syntax because the header is technically coming
  from a different module (FirebaseAuth rather than FirebaseAuth_Private).

* Fix import typo

* Style

* More progress. Building for CocoaPods. Not for SPM

* Remove 'MyPrivateClass.h'

* Generate private module map

* Generate private module map followup

* Re-enable testing spec

* Style

* Remove unneeded module.modulemap

* Revert "Remove unneeded module.modulemap"

This reverts commit 3ac44c3570.

* Adjust header import since FIRAuthBackend was moved

* Get library building on iOS

* Builds on iOS

* Revert private module map and update gitignore

* Add TODO

* Wrap FirebaseAuth_Private import with #if COCOAPODS

* Modularize script with arg[0] for podspec name

* Generalize script more and remove private module map

* Revert unintentionally checked in changes

* re-style @objc(...) qualifier

* Fix check

* Fix SPM build

* Change API back to what it was originally

* Fix copyright

* Better error handling in script
2023-07-11 16:09:03 -07:00
Paul Beusterien 1e735dc7b4 Some cleanup 2023-07-11 16:06:40 -07:00
Paul Beusterien 7d938427dd checkpoint 2023-07-11 16:05:03 -07:00
Paul Beusterien 0323c2d15c Update versions for Release 10.12.0 (#11435) 2023-06-14 10:20:58 -04:00
Nick Cooke 1e040186a6 [Infra] Remove HeartbeatLoggingTestUtils.podspec (#11370)
* [Infra] Remove HeartbeatLoggingTestUtils.podspec

* Review
2023-06-01 13:31:39 -04:00
Andrew Heard 7d6044297c [Release] Update versions for Release 10.11.0 (#11327) 2023-05-25 17:15:33 -04:00
Nick Cooke 6bf654b116 Update versions for Release 10.10.0 (#11195) 2023-04-27 06:36:22 -07:00
Paul Beusterien cce912fea2 Update versions for Release 10.9.0 (#11112) 2023-04-12 09:14:23 -07:00
Yvonne Cheng 43cd9c2883 Merge App check auth integration into master branch (#11056)
* Auth integration with AppCheck (#10798)

* Auth App check integration without unit testing

* Add Unitest for AppCheck Auth Integration

* Style the format for Auth-Appcheck Integration

* Fix typo in import for FIRAppCheckInterop

* Style this file

* Fix wrong import

* Fix style for this file

* Fix style in this file

* Add Source path for FIRAppCheckInterop

* Add self to async block in Unit Test

* Fix: pass appcheckInterop to request configuration

* style the fixed files

* revert files that are only for local testing

* modify init method to avoid more changes

* remove extra comments

* upload for debug unit test

* Revert Sample changes and add appcheck into unit tests

* Fix issues in FIRAuthRequestConfiguration and typos in unit tests

* fix error loading and revert pod files

* Add spaces to keep style consistent

* pass appCheckToken as URL fragment (#10877)

* pass appCheckToken as URL fragment

* pass appcheck token as url fragments to phone provider

* for test purpose only: commented async function

* test if it is google cloud error

* formatting the file

* formatting the file

* fix comments issues

* remove printing function

* remove unused property

* Adding Unit test for passing appchecktoekn as a url fragment

* add import for FIRAppCheckTokenResultInterop

* Add separate file for FIRFakeAppCheck and Modify accordingly

* add copyright comments for bewly created files

* Add declaration for completion in FIRFakeAppCheck

* add correct param decalaration

* clean FIRFakeAppCheck.h

* add method in FIRAppcheck.h to avoid complaints

* correct copyright info

* fix typo in FIRFakeAppCheck.m

* Recover declarations

* solve comments issues

* Add changes to unit tests for changes in FIRAuthRequestConfiguration

* Add changelog

* Edit changelog
2023-03-31 17:29:06 -07:00
Nick Cooke 01ecc1c6c2 [Release] Update versions for Release 10.8.0 (#10982) 2023-03-22 08:49:34 -04:00
Andrew Heard 6642308cca [Release] Update versions for Release 10.7.0 (#10894)
Updated versions to 10.7.0 in preparation for the next release.
2023-03-06 08:57:06 -05:00
Charlotte Liang 206cef3400 Update versions for Release 10.6.0 (#10815) 2023-02-13 16:53:05 -08:00
chuanr 0216c1a2bf Multi-app fix (#10805) 2023-02-10 14:01:39 -08:00
Nick Cooke a9b889dd62 [Auth] Add 'kSecUseDataProtectionKeychain' flag to keychain access (#10759)
* [Auth] Add 'kSecUseDataProtectionKeychain' flag to keychain access

* Add CHANGELOG entry

* [skip ci] Update CHANGELOG

* [skip ci] Update CHANGELOG (1)
2023-01-31 16:13:35 -05:00
Nick Cooke 86819077bf Update versions for Release 10.5.0 (#10709) 2023-01-18 13:43:35 -05:00
Paul Beusterien 8de8f50720 Update versions for Release 10.4.0 (#10556) 2022-12-06 07:07:38 -08:00
Charlotte Liang a3686792bb Update versions for Release 10.3.0 (#10506) 2022-11-18 13:08:33 -08:00
Paul Beusterien 09ae075003 Enable GTMSessionFetcher 3.x (#10467) 2022-11-08 09:53:52 -08:00
Andrew Heard a1b78b247b Update versions for Release 10.2.0 (#10424) 2022-10-31 18:19:08 -04:00
Nick Cooke 174be0d92b [v10.1.0] Update versions for Release 10.1.0 (#10336) 2022-10-10 19:55:03 -04:00
af1201c8a3 [Firebase 10] Bump versions for 10.0.0 (#10244)
* [Firebase 10] Bump 9.X versions to 10.0.0

* Bump min. GTMSessionFetcher dep version to 2.1

* Bump min. GDT dep version to 9.2

* Bump min. GULs dep version to 7.8

* Fix unintentional nanopb replace

* Fix unintentional nanopb replace (2)

* Fix unintentional nanopb replace (3)

* Fix unintentional nanopb replace (4)

* Fix unintentional nanopb replace (4)

* Trigger all CI

* Bump FirebaseCombineSwift to 10

* Fix FirebaseStorage.podspec
I'm not sure what happened here. I had committed it during the rebase but guess not?

* Fix unintentional nanopb replace (5)

* Disable two tests to unblock staging

* Fix and re-enable FIROptions tests

* Update deployment targets in Firebase.podspec

* Add CHANGELOG entry for GTMSessionFetcher

* Fix AppCheck iOS availability

* Fix inadvertent API change (#10245)

* Docs update for Extensions and putFile (#10248)

* App google domain support (#10249)

Adding new 1p domain "app.google" support in FDL SDK.

* Remote Config Dynamic Property Wrapper (#10155)

* Separate GoogleUtilities Carthage build (#10250)

* Public count (#10246)

* Public Count

* Swift Test Commit

* Swift Format

* No extra whitespace

* Hopefully formatted.

* Change log and feedback.

* Revert "Public count (#10246)" (#10252)

This reverts commit 8aae6bee27.

* Make Firestore use FirebaseDataEncoder and FirebaseDataDecoder (re-implementation of #8858) (#9465)

* Bump tvOS minimum support version to 12.0

* [skip ci] Revert Gemfile

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
Co-authored-by: Eldhose M Babu <eldhosembabu@google.com>
Co-authored-by: Charlotte Liang <chliang@google.com>
Co-authored-by: wu-hui <53845758+wu-hui@users.noreply.github.com>
Co-authored-by: Morten Bek Ditlevsen <bek@termestrup.dk>
2022-09-24 07:06:20 -04:00
Nick Cooke 6e0fda7a24 [Firebase 10] Update minimum supported versions across Firebase (#10233)
* Bump Package.swift minimum support versions

* Update iOS minimum versions

* Bump Crashlytics to min. support iOS 11

* Bump macOS support from 10.12 to 10.13

* Bump tvOS support from 10 to 11

* Add CHANGELOG entry

* Improve CHANGELOG entry

* Fix CI

* Improve CHANGELOG entry (2)

* Improve CHANGELOG entry (3)

* Update FirePerf test app deployment target

* Update Mac test apps's deployment target

* Update iOS test apps's deployment target

* Update release tooling project's iOS deployment target

* Misc platform min support bumps

* Update FBSDK API usage to FBSDK 13.0+

* Fix Auth dep on FBSDK
2022-09-21 16:48:11 -04:00
Andrew Heard efbb25d03c Update versions for Release 9.6.0 (#10145)
Updated version numbers in preparation for Firebase M121 (9.6.0).

#no-changelog
2022-08-29 18:07:40 -04:00
Charlotte Liang 45ee209e5d Update versions for Release 9.5.0 (#10088) 2022-08-11 10:37:14 -07:00
Nick Cooke 7e3548b3fe Update versions for Release 9.4.0 (#10035) 2022-07-21 17:33:20 -07:00
Paul Beusterien 9ebc1f01c1 Update versions for Release 9.3.0 (#9933) 2022-06-21 17:49:26 -07:00
Charlotte Liang 3827b43b1b Update versions for Release 9.2.0 (#9879) 2022-06-07 16:19:20 -07:00
Thomas Van Lenten 500d379ae4 Allow use of GTMSessionFetcher 2.x versions. (#9810) 2022-05-17 08:22:14 -08:00
Nick Cooke 5182a3184e [v9.1.0] Update versions for Release 9.1.0 (#9787)
* Update versions for Release 9.1.0

* Review

* Review
2022-05-09 21:03:24 -04:00
argzdev 8effa3f03c Changed Apache to Apache-2.0 (#9782) 2022-05-09 06:23:42 -07:00
Nick Cooke f5038c2df5 Revert "[v9.1] Bump GTMSessionFetcher dep to >1.7.2 (#9774)" (#9776)
This reverts commit 7fd17f7393.
2022-05-06 18:10:45 -04:00
Nick Cooke 7fd17f7393 [v9.1] Bump GTMSessionFetcher dep to >1.7.2 (#9774) 2022-05-06 17:58:22 -04:00
Nick Cooke 369a188f56 Update dependency minor version (#9677) 2022-04-20 14:35:17 -04:00
Paul Beusterien 199d1c1299 Version 9.0 (#9595) 2022-04-07 07:35:31 -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
Nick Cooke 08e9f7f5b0 [Heartbeat Logging] Update FirebaseCore dependents for heartbeat logging changes (#9436)
* Set swift_version to 5.3 for core dependents

* Fix Firestore Cmake build

* s/Cmake/CMake
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
Paul Beusterien 64c81c0d27 Update versions for Release 8.15.0 (#9507) 2022-03-23 05:47:17 -07:00
Nick Cooke e5152af430 Update versions for Release 8.14.0 (#9432) 2022-03-08 20:48:46 -05:00
Ryan Wilson 8dae747fc3 Update versions for Release 8.13.0 (#9359) 2022-02-18 09:10:48 -05:00
Paul Beusterien 19e0e8cde1 Update versions for Release 8.12.0 (#9230) 2022-01-20 11:19:57 -08:00
Asaf Korem f62074463c Bump GoogleUtilities to 7.7. (#9173) 2022-01-06 13:12:59 -08:00
Paul Beusterien 0feef36e60 Update versions for Release 8.11.0 (#9122) 2021-12-21 17:11:41 -08:00
Nick Cooke a58bf1a0f5 Update versions for Release 8.10.0 (#8978) 2021-11-16 21:55:35 -08:00