Commit Graph
91 Commits
Author SHA1 Message Date
Paul Beusterien fcdb55405b Update imports for internal build system (#13290) 2024-07-16 13:11:53 -07:00
Paul Beusterien a53db1a9ba [v11] Streamline internal FirebaseStorageTask implementations (#13220) 2024-07-03 11:30:27 -07:00
Nick Cooke 6d4a7a150a Merge branch 'main' into nc/merge-main 2024-06-26 10:06:05 -04:00
Paul Beusterien f24850f83d Storage: Fix a var that should be a let (#13185) 2024-06-25 14:40:05 -07:00
Paul BeusterienandNick Cooke 337d1efd54 [v11] Storage Error Handling Consistency (#13114)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2024-06-14 15:51:49 -07:00
Paul Beusterien 8136158f10 [v11] Address component system cleanup PR comments (#13055) 2024-06-04 08:06:57 -07:00
Paul Beusterien 8719e5a9bc [v11] Simplify Component System Usage (#13047) 2024-06-03 15:45:09 -07:00
Yakov Manshin 7434377e3b Removed Unused Availability Checks (#13023) 2024-05-28 09:20:31 -07:00
Sheikh Bayazid e8a12e04c2 Improve/use shorthand syntax for unwrapping optionals and fix typos (#12369) 2024-05-03 08:50:20 -07:00
Matt ComiandNick Cooke 8230f73de8 Adds putFileHandle and putFileHandleAsync (#12580)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2024-03-27 08:45:01 -07:00
Andrew Heard 1ed6d66b20 Make instanceForProtocol:inContainer: return nullable T (#12391) 2024-02-21 12:15:45 -05:00
Andrew Heard ab0d0854a3 Make AuthInterop and AppCheckInterop properties optional in Storage (#12387) 2024-02-14 10:03:34 -05:00
Paul Beusterien 2d3ecf9658 Storage docs fixes (#12344) 2024-02-01 14:57:41 -08:00
Paul Beusterien 0fe8385fe6 Remove unnecessary compiler checks for Concurrency support (#12232) 2024-01-03 07:04:02 -08:00
Paul Beusterien 4d2b60dc75 Updated to SwiftFormat 0.52.10 (#12125) 2023-11-21 12:12:05 -08:00
Andrew Heard df56264781 [visionOS] Fix Storage SDK build on Xcode 15 beta 6 (#11667)
In Xcode 15 beta 6, `#if os(iOS)` no longer evaluates to true when building for visionOS.

Note: `TARGET_OS_IOS` continues to be defined so Objective-C code is unchanged.
2023-08-09 14:31:12 -04:00
Morgan Chen 7ad4967d1b update thread-safety docs on Storage (#11661) 2023-08-08 11:25:37 -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
Paul Beusterien 23836ffadb Fix zip build break (#11344) 2023-05-29 10:24:07 -04:00
Paul Beusterien 9f009df386 Progress closure for async/await APIs (#11289) 2023-05-26 11:31:16 -07:00
Paul Beusterien e73e86abbe Add missing unowned specifiers (#11248) 2023-05-10 07:57:20 -07:00
Paul Beusterien 3e2dd2fb3f Provide server errors via the NSUnderlyingErrorKey (#10913) 2023-03-11 07:23:05 -08:00
Paul Beusterien 66f23d564b Add Storage API to limit upload chunk size (#10609) 2023-01-25 12:49:16 -05:00
Paul Beusterien fe80522d3b Two Storage Swift porting typos (#10588) 2022-12-16 13:30:46 -05:00
Paul Beusterien b109e01e2f Fix strict concurrency checking errors (#10518) 2022-11-28 10:47:22 -09:00
Paul Beusterien 34a9197130 Use dedicated queue for Storage uploads and downloads instead of global queue (#10492) 2022-11-14 14:21:53 -08:00
Morgan Chen d962bd5e22 Storage lock fix (#10468)
* Revert "Include subheaders in script output (#10212)"

This reverts commit 11313da887.

* Use a dedicated sync object

* Revert "Revert "Include subheaders in script output (#10212)""

This reverts commit 41fe302d1e.

* Add changelog and tests

* Revert "Include subheaders in script output (#10212)"

This reverts commit 11313da887.

* Revert "Revert "Include subheaders in script output (#10212)""

This reverts commit 472e3f9956.

* style
2022-11-08 16:30:17 -08:00
Paul Beusterien f7dea6e494 Fix a race condition where a download size could exceed maxSize (#10412) 2022-10-28 10:14:44 -07:00
Mike Hardy d04d5228fa Tolerate nested JSON objects while getting URL (#10370) 2022-10-19 09:20:09 -07:00
Maneesh Tewani ab83e54363 Fixed issue where metadata wasn't properly initialized (#10356) 2022-10-14 13:32:42 -07:00
Nick Cooke 71972ab0e8 [Firebase 10] Revamp FIRLogger for Swift use (#10286)
* [Firebase 10] Revamp FIRLogger for Swift use

* Fix test impl and only run firebasepod.yml

* re-enable actions

* Implement logger

* Global TAP

* Revert .pbxproj

* Call directly to GULs

* Review

* Undo API breaks

* [skip ci] Avoid NS_SWIFT_NAME due to macro collisions
This fixes the warning that broke the Auth x watchOS job.

* [skip ci] Revert Gemfile
2022-09-28 22:13:47 -04:00
Paul Beusterien 970b4c4509 Deprecate, not remove, unused API (#10263) 2022-09-26 14:30:29 -07:00
Paul Beusterien b904e6f5e9 Docs update for Extensions and putFile (#10248) 2022-09-22 11:42:43 -07:00
Paul Beusterien 439b42d5a0 Fix inadvertent API change (#10245) 2022-09-22 09:36:23 -07:00
Paul Beusterien 3d51280713 Address 9963 review feedback (#10239) 2022-09-21 16:32:37 -07:00
Paul Beusterien 7c266fbc11 Missing sync, missing interval processing, todo review (#10225) 2022-09-21 16:32:37 -07:00
Paul Beusterien 2a14d44ad4 Address missed review comments from #10216 (#10224) 2022-09-21 16:32:37 -07:00
Paul Beusterien ec0fb219d5 Add new throwing reference(for url:URL) API (#10216) 2022-09-21 16:32:37 -07:00
Paul Beusterien 67ed968e66 StorageAuthorizer to Swift (#10117) 2022-09-21 16:32:13 -07:00
Paul Beusterien 08bbe9c1ed Storage and StorageReference to Swift (#10077) 2022-09-21 16:32:13 -07:00
Paul Beusterien 1f77f3b60f Create dictionary with compactMap (#10027) 2022-09-21 16:32:12 -07:00
Paul Beusterien 54424d61ee Convert StorageMetadata to Swift (#9979) 2022-09-21 16:32:12 -07:00
Paul Beusterien f9595d39f1 Convert Storage Task implementation to Swift (#9880) 2022-09-21 16:32:12 -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
Paul Beusterien 8d65537335 Fix typos (#9802) 2022-05-13 15:38:03 -07:00
Paul BeusterienandNick Cooke 1fc4e50fa2 Merge 9715 and 9720 to master (#9719)
* Missing NSObject overrides and tests (#9715)
* [v9] Improve clarity of zip integration instructions (#9720)

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2022-04-27 17:02:13 -07:00
Jon Simantov 5238f5044f Fix an issue with StorageUploadTask.resume accidentally using Download. (#9717) 2022-04-27 14:56:51 -07:00
Morgan ChenandNick Cooke 96984a0554 Update Storage and Functions header comments to Swift markdown (#9706)
* Update Storage header comments to Swift markdown

* Update functions headers to use swift markdown

* Update FirebaseStorage/Sources/AsyncAwait.swift

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>

* Update FirebaseStorage/Sources/AsyncAwait.swift

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>

* Update FirebaseStorage/Sources/AsyncAwait.swift

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>

* Update FirebaseStorage/Sources/Storage.swift

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>

* Update FirebaseStorage/Sources/Storage.swift

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>

* Update FirebaseStorage/Sources/StorageObservableTask.swift

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>

* Update FirebaseStorage/Sources/StorageObservableTask.swift

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>

* run style

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2022-04-26 11:04:38 -07:00
Ryan Wilson 408e0564c0 Refactor to remove __ APIs in Swift (#9678) 2022-04-20 16:30:06 -04:00
Paul Beusterien f928ad0c10 Revert "Adding Custom Time to FirebaseStorage (#9576)" (#9652)
This reverts commit 071902bfe1.
2022-04-14 07:03:19 -07:00