Commit Graph
22 Commits
Author SHA1 Message Date
Nick Cooke 8d1305dcc9 [Functions] Address more Swift 6 warnings (#14772) 2025-04-25 20:19:31 -04:00
Nick Cooke f49b37ff30 [Swift 6] Address low-hanging Swift concurrency errors in Functions (#14597) 2025-03-19 10:26:53 -04:00
Yakov Manshin ea8fb07f37 Refactored FunctionsSerializer.encode(_:) (#14524) 2025-03-04 09:47:28 -05:00
Yakov Manshin 0ea9a19ca3 Refactored FunctionsSerializer.decode(_:) (#14514) 2025-02-28 17:53:36 -05:00
Nick Cooke 918d77dd4c [Functions] Pass placeholder app check tokens on error (#14467) 2025-02-19 12:17:08 -05:00
Yakov Manshin 865535fda7 Async FunctionsContextProvider.context(options:) (#13900) 2024-10-29 12:47:34 -04:00
Yakov Manshin 84f28c12ef Fixed DispatchGroup’s Excessive Wait in FunctionsContext (#13887) 2024-10-14 08:14:38 -07:00
Yakov Manshin 8f335d6974 FunctionsContext Updates (#13531) 2024-08-22 08:48:48 -07:00
Yakov Manshin f0fdd5b22d Functions Cleanup (#13449) 2024-08-02 17:13:09 -04:00
Yakov Manshin 8ac886d045 Consistent Collections Coding in FunctionsSerializer (#13419) 2024-07-31 11:11:03 -04:00
Yakov Manshin 26dab2702e Renamed FUNSerializer to FunctionsSerializer (#13410) 2024-07-27 11:40:16 -07:00
Yakov Manshin 81b2451f5c Functions Serializer Updates (#13409) 2024-07-27 10:06:14 -07:00
Seyed Mojtaba Hosseini Zeidabadi c0a952ed0a Fix typo of the FirebaseFunctions files (#13329) 2024-07-21 07:02:04 -07:00
Paul Beusterien 0ab171c52b [v11] Update to SwiftFormat 0.54.0 (#13222) 2024-07-03 07:01:29 -07:00
Paul Beusterien 8719e5a9bc [v11] Simplify Component System Usage (#13047) 2024-06-03 15:45:09 -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 4d2b60dc75 Updated to SwiftFormat 0.52.10 (#12125) 2023-11-21 12:12:05 -08:00
0cbe4f2920 Firebase App Check One-time Use Tokens for Callable Functions SDK (#11270)
* draft pr for callable functions

* Adjust Functions podspec dependency on AppCheckInterop

* Add 'HTTPSCallableOptions' class

* Re-implement with new HTTPSCallableOptions type

* Revert and update Objective-C API tests

* Mark new AppCheckInterop API optional for backwards compatibility

* Preserve existing codable Functions API

* Revert integration tests

* Style

* Fix some test build breakages

* Add changelog entry

* Style

* Fix AppCheck tests

* Cleanup current approach

* Re-organize tests

* Add 'options' param to 'getContext' call

* Add success case unit test

* Shorten expectation waiting timeout

* Add remaining unit tests

* Amend current test

* Rename 'limitedUseTokens' to 'requireLimitedUseTokens'

* Fix build and tests

* Fix some renaming misses

* Fix some renaming misses (1)

* Update FirebaseFunctions/CHANGELOG.md

Co-authored-by: Andrew Heard <andrewheard@google.com>

* Update FirebaseFunctions/Sources/Functions.swift

Co-authored-by: Andrew Heard <andrewheard@google.com>

* Update FirebaseFunctions/Sources/Functions.swift

Co-authored-by: Andrew Heard <andrewheard@google.com>

* Update FirebaseFunctions/Sources/Functions.swift

Co-authored-by: Andrew Heard <andrewheard@google.com>

* Update FirebaseFunctions/Sources/Functions.swift

Co-authored-by: Andrew Heard <andrewheard@google.com>

* Update FirebaseFunctions/Sources/HTTPSCallableOptions.swift

Co-authored-by: Andrew Heard <andrewheard@google.com>

* [App Check] Always return fresh limitedUseToken (#11298)

Updated `limitedUseTokenWithCompletion:` to always return a fresh limited-used token in every invocation (removed the `ongoingLimitedUseTokenPromise` property).

---------

Co-authored-by: Nick Cooke <nickcooke@google.com>
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
Co-authored-by: Andrew Heard <andrewheard@google.com>
2023-05-16 18:33:15 -04:00
Paul Beusterien e73e86abbe Add missing unowned specifiers (#11248) 2023-05-10 07:57:20 -07:00
Ryan Wilson 878f885828 Use @_implementationOnly import for FirebaseCoreExtension (#9887)
Using a regular import caused internal Core APIs to be surfaced to end
users.
2022-06-08 10:09:55 -04: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
Paul Beusterien 223afa5aec Better Swift file structure (#9449) 2022-03-23 06:08:13 -07:00