Skip to content

Storage putString() documentation details are wrong #2606

@tgv1975

Description

@tgv1975

Version info

Angular: 9.1.9

Firebase: 7.22.0

AngularFire: 6.0.3

Other (e.g. Ionic/Cordova, Node, browser, operating system): n/a

How to reproduce these conditions

Failing test unit, Stackblitz demonstrating the problem
n/a

Steps to set up and reproduce

Visit the storage upload documentation the Uploading BLOBs section.

The explanation for putString seems to be out of place:

Updates an existing item in the array. Accepts a key, database reference, or an unwrapped snapshot.

Sample data and security rules

n/a

Debug output

n/a

Screenshots

image

Expected behavior

A relevant explanation for putString, such as:

Upload a raw, base64, base64url, or data_url encoded string to the storage reference's path. Returns an AngularFireUploadTask for upload monitoring.

Actual behavior

The explanation for putString is nonsensical:

Updates an existing item in the array. Accepts a key, database reference, or an unwrapped snapshot.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions