diff options
author | Sebastian Schmidt <mrschmidt@google.com> | 2018-03-28 20:29:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-28 20:29:05 -0700 |
commit | f8092c06b33f14c0084ebe807d967d14c31afa94 (patch) | |
tree | 65925f481ecd36d88b1324889fb18fc4d994d258 /Firebase | |
parent | de07d576664d5d8f645af399463eaccb1d0a78dd (diff) | |
parent | aa09898fb57d3c6c537dc3ff22fcfaf47cfed1f6 (diff) |
Merge pull request #985 from firebase/downlaodurldeprecation
Deprecate StorageMetadata.downloadURLs
Diffstat (limited to 'Firebase')
-rw-r--r-- | Firebase/Storage/Public/FIRStorageMetadata.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Firebase/Storage/Public/FIRStorageMetadata.h b/Firebase/Storage/Public/FIRStorageMetadata.h index 51f3547..2e3cc13 100644 --- a/Firebase/Storage/Public/FIRStorageMetadata.h +++ b/Firebase/Storage/Public/FIRStorageMetadata.h @@ -115,7 +115,8 @@ NS_SWIFT_NAME(StorageMetadata) /** * An array containing all download URLs available for the object. */ -@property(strong, nonatomic, readonly, nullable) NSArray<NSURL *> *downloadURLs; +@property(strong, nonatomic, readonly, nullable) NSArray<NSURL *> *downloadURLs __deprecated_msg( + "Use `StorageReference.downloadURLWithCompletion()` to obtain a current download URL."); /** * Creates an instanece of FIRStorageMetadata from the contents of a dictionary. @@ -145,7 +146,8 @@ NS_SWIFT_NAME(StorageMetadata) * Note that if there are many valid download tokens, this will always return the first * valid token created. */ -- (nullable NSURL *)downloadURL; +- (nullable NSURL *)downloadURL __deprecated_msg( + "Use `StorageReference.downloadURLWithCompletion()` to obtain a current download URL."); @end |