Skip to content

Commit 5cb2c35

Browse files
author
SotoiGhost
committed
[Firebase][Storage] Updated to version 3.4.0 (Firebase v6.5.0)
1 parent 36ea8b9 commit 5cb2c35

File tree

6 files changed

+42
-11
lines changed

6 files changed

+42
-11
lines changed

Readme.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Xamarin creates and maintains Xamarin.iOS bindings for the Google APIs for iOS L
2222
| [Xamarin.Firebase.iOS.MLKit.ModelInterpreter][F.MLKit.ModelInterpreter.Name] | [0.13.0.0][F.MLKit.ModelInterpreter.Package] |
2323
| [Xamarin.Firebase.iOS.PerformanceMonitoring][F.PerformanceMonitoring.Name] | [2.2.2.0][F.PerformanceMonitoring.Package] |
2424
| [Xamarin.Firebase.iOS.RemoteConfig][F.RemoteConfig.Name] | [3.1.0.0][F.RemoteConfig.Package] |
25-
| [Xamarin.Firebase.iOS.Storage][F.Storage.Name] | [3.0.2.0][F.Storage.Package] |
25+
| [Xamarin.Firebase.iOS.Storage][F.Storage.Name] | [3.4.0.0][F.Storage.Package] |
2626
| [Xamarin.Google.iOS.Analytics][G.Analytics.Name] | [3.17.0.3][G.Analytics.Package] |
2727
| [Xamarin.Google.iOS.AppIndexing][G.AppIndexing.Name] | [2.0.3.5][G.AppIndexing.Package] |
2828
| [Xamarin.Google.iOS.Cast][G.Cast.Name] | [4.4.2.0][G.Cast.Package] |
@@ -63,9 +63,9 @@ Here's a table that shows in which global version is located each component of F
6363
| Firebase MLKit | **0.13.0.1** | **5.13.0* |
6464
| Firebase MLKit Common | **0.13.0.0** | **5.13.0* |
6565
| Firebase MLKit Model Interpreter | **0.13.0.0** | **5.13.0* |
66-
| Firebase Performance Monitoring | **2.2.2.0** | **5.16.0** |
67-
| Firebase RemoteConfig | **3.1.0.0** | **5.16.0** |
68-
| Firebase Storage | **3.0.2.0** | **5.8.1** |
66+
| Firebase Performance Monitoring | **2.2.2.0** | **5.16.0** |
67+
| Firebase RemoteConfig | **3.1.0.0** | **5.16.0** |
68+
| Firebase Storage | **3.4.0.0** | **6.5.0** |
6969
| Google Sign-In | **4.2.0.0** | **5.8.1** |
7070
| Google Tag Manager | **7.1.1.0** | **5.8.1** |
7171

cgmanifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
"git": {
197197
"name": "FirebaseStorage",
198198
"repositoryUrl": "https://github.com/firebase/firebase-ios-sdk.git",
199-
"commitHash": "1e8fc1ac130eef9d8ee351637436ac6d65129b96"
199+
"commitHash": "1e3edcc9463d1335968d4911fbcf2221f81cc9a7"
200200
}
201201
}
202202
},

components.cake

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Artifact FIREBASE_MLKIT_COMMON_ARTIFACT = new Artifact ("Firebase.MLK
1515
Artifact FIREBASE_MLKIT_MODEL_INTERPRETER_ARTIFACT = new Artifact ("Firebase.MLKit.ModelInterpreter", "0.13.0", "9.0", ComponentGroup.Firebase, csprojName: "MLKit.ModelInterpreter");
1616
Artifact FIREBASE_PERFORMANCE_MONITORING_ARTIFACT = new Artifact ("Firebase.PerformanceMonitoring", "2.2.2", "8.0", ComponentGroup.Firebase, csprojName: "PerformanceMonitoring");
1717
Artifact FIREBASE_REMOTE_CONFIG_ARTIFACT = new Artifact ("Firebase.RemoteConfig", "3.1.0", "8.0", ComponentGroup.Firebase, csprojName: "RemoteConfig");
18-
Artifact FIREBASE_STORAGE_ARTIFACT = new Artifact ("Firebase.Storage", "3.0.2", "8.0", ComponentGroup.Firebase, csprojName: "Storage");
18+
Artifact FIREBASE_STORAGE_ARTIFACT = new Artifact ("Firebase.Storage", "3.4.0", "8.0", ComponentGroup.Firebase, csprojName: "Storage");
1919

2020
// Google artifacts available to be built. These artifacts generate NuGets.
2121
Artifact GOOGLE_ANALYTICS_ARTIFACT = new Artifact ("Google.Analytics", "3.17.0.3", "5.0", ComponentGroup.Google, csprojName: "Analytics");
@@ -78,7 +78,7 @@ void SetArtifactsDependencies ()
7878
FIREBASE_MLKIT_MODEL_INTERPRETER_ARTIFACT.Dependencies = new [] { FIREBASE_CORE_ARTIFACT, FIREBASE_INSTANCE_ID_ARTIFACT, FIREBASE_MLKIT_COMMON_ARTIFACT };
7979
FIREBASE_PERFORMANCE_MONITORING_ARTIFACT.Dependencies = new [] { FIREBASE_CORE_ARTIFACT, FIREBASE_INSTANCE_ID_ARTIFACT, FIREBASE_ANALYTICS_ARTIFACT };
8080
FIREBASE_REMOTE_CONFIG_ARTIFACT.Dependencies = new [] { FIREBASE_CORE_ARTIFACT, FIREBASE_INSTANCE_ID_ARTIFACT, FIREBASE_ANALYTICS_ARTIFACT, FIREBASE_AB_TESTING_ARTIFACT };
81-
FIREBASE_STORAGE_ARTIFACT.Dependencies = new [] { FIREBASE_CORE_ARTIFACT };
81+
FIREBASE_STORAGE_ARTIFACT.Dependencies = new [] { FIREBASE_CORE_ARTIFACT, FIREBASE_DATABASE_ARTIFACT, FIREBASE_AUTH_ARTIFACT };
8282

8383
GOOGLE_ANALYTICS_ARTIFACT.Dependencies = null;
8484
GOOGLE_APP_INDEXING_ARTIFACT.Dependencies = null;
@@ -160,7 +160,7 @@ void SetArtifactsPodSpecs ()
160160
new PodSpec ("Firebase", "5.16.0", subSpecs: new [] { "RemoteConfig" })
161161
};
162162
FIREBASE_STORAGE_ARTIFACT.PodSpecs = new [] {
163-
new PodSpec ("Firebase", "5.8.1", frameworkSource: FrameworkSource.Pods, frameworkName: "FirebaseStorage", targetName: "FirebaseStorage", subSpecs: new [] { "Storage" })
163+
new PodSpec ("Firebase", "6.5.0", frameworkSource: FrameworkSource.Pods, frameworkName: "FirebaseStorage", targetName: "FirebaseStorage", subSpecs: new [] { "Storage" })
164164
};
165165

166166
// Google components

source/Firebase/Storage/ApiDefinition.cs

+30
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,24 @@ interface StorageDownloadTask : StorageTaskManagement
8181
{
8282
}
8383

84+
// @interface FIRStorageListResult : NSObject <NSCopying>
85+
[DisableDefaultCtor]
86+
[BaseType (typeof (NSObject), Name = "FIRStorageListResult")]
87+
interface StorageListResult : INSCopying {
88+
// @property (readonly, nonatomic) NSArray<FIRStorageReference *> * _Nonnull prefixes;
89+
[Export ("prefixes")]
90+
StorageReference [] Prefixes { get; }
91+
92+
// @property (readonly, nonatomic) NSArray<FIRStorageReference *> * _Nonnull items;
93+
[Export ("items")]
94+
StorageReference [] Items { get; }
95+
96+
// @property (readonly, nonatomic) NSString * _Nullable pageToken;
97+
[NullAllowed]
98+
[Export ("pageToken")]
99+
string PageToken { get; }
100+
}
101+
84102
// @interface FIRStorageMetadata : NSObject <NSCopying>
85103
[BaseType (typeof (NSObject), Name = "FIRStorageMetadata")]
86104
interface StorageMetadata : INSCopying
@@ -282,6 +300,18 @@ interface StorageReference
282300
[Export ("writeToFile:completion:")]
283301
StorageDownloadTask WriteToFile (NSUrl fileURL, [NullAllowed] StorageWriteToFileCompletionHandler completion);
284302

303+
// -(void)listAllWithCompletion:(void (^ _Nonnull)(FIRStorageListResult * _Nonnull, NSError * _Nullable))completion;
304+
[Export ("listAllWithCompletion:")]
305+
void ListAll (Action<StorageListResult, NSError> completion);
306+
307+
// -(void)listWithMaxResults:(int64_t)maxResults completion:(void (^ _Nonnull)(FIRStorageListResult * _Nonnull, NSError * _Nullable))completion;
308+
[Export ("listWithMaxResults:completion:")]
309+
void List (long maxResults, Action<StorageListResult, NSError> completion);
310+
311+
// -(void)listWithMaxResults:(int64_t)maxResults pageToken:(NSString * _Nonnull)pageToken completion:(void (^ _Nonnull)(FIRStorageListResult * _Nonnull, NSError * _Nullable))completion;
312+
[Export ("listWithMaxResults:pageToken:completion:")]
313+
void List (long maxResults, string pageToken, Action<StorageListResult, NSError> completion);
314+
285315
// -(void)metadataWithCompletion:(void (^ _Nonnull)(FIRStorageMetadata * _Nullable, NSError * _Nullable))completion;
286316
[Async]
287317
[Export ("metadataWithCompletion:")]

source/Firebase/Storage/Enums.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public enum StorageErrorCode : long
2727
RetryLimitExceeded = -13030,
2828
NonMatchingChecksum = -13031,
2929
DownloadSizeExceeded = -13032,
30-
Cancelled = -13040
30+
Cancelled = -13040,
31+
InvalidArgument = -13050
3132
}
3233
}

source/Firebase/Storage/Storage.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<RootNamespace>Firebase.Storage</RootNamespace>
77
<AssemblyName>Firebase.Storage</AssemblyName>
88
<AssemblyVersion>1.0.0.0</AssemblyVersion>
9-
<FileVersion>3.0.2</FileVersion>
9+
<FileVersion>3.4.0</FileVersion>
1010
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
1111
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1212
</PropertyGroup>
@@ -23,7 +23,7 @@
2323
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=865545</PackageProjectUrl>
2424
<PackageLicenseUrl>https://go.microsoft.com/fwlink/?linkid=865549</PackageLicenseUrl>
2525
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
26-
<PackageVersion>3.0.2</PackageVersion>
26+
<PackageVersion>3.4.0</PackageVersion>
2727
</PropertyGroup>
2828

2929
<ItemGroup>

0 commit comments

Comments
 (0)