You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: docs/STORAGE.md
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,15 @@ You can either pass in a full local path to a file, or (as a convenience) use th
59
59
// determine the path to a file in the app/res folder
60
60
var logoPath = appPath +"/res/telerik-logo.png";
61
61
62
+
var metadata = {
63
+
contentType:"demo/test",
64
+
contentLanguage:"fr",
65
+
customMetadata: {
66
+
"foo":"bar",
67
+
"foo2":"bar2"
68
+
}
69
+
};
70
+
62
71
// now upload the file with either of the options below:
63
72
firebase.storage.uploadFile({
64
73
// optional, can be omitted since 6.5.0, and also be passed during init() as 'storageBucket' param so we can cache it (find it in the Firebase console)
@@ -73,7 +82,8 @@ You can either pass in a full local path to a file, or (as a convenience) use th
0 commit comments