Skip to content

Commit fcd1edc

Browse files
committed
Update metadata_ios.mm
1 parent d5f86d8 commit fcd1edc

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

storage/src/ios/metadata_ios.mm

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,8 @@ static int64_t NSDateToMilliseconds(NSDate *date) {
183183
const char* MetadataInternal::path() { return NSStringToCString(impl().path, &path_); }
184184

185185
StorageReferenceInternal* MetadataInternal::GetReference() {
186-
if (storage_ && impl()) {
187-
return new StorageReferenceInternal(
188-
storage_, std::make_unique<FIRStorageReferencePointer>(impl().storageReference));
189-
} else {
190-
return nullptr;
191-
}
186+
// There is no way to get this information on iOS anymore.
187+
return nullptr;
192188
}
193189

194190
int64_t MetadataInternal::size_bytes() { return static_cast<int64_t>(impl().size); }

0 commit comments

Comments
 (0)