3
var storageRef = firebase.storage().ref();
var ref = storageRef.child('nothing.txt');
ref.putString('nothing');

This is my code. put() function works without any problem but putString() gives an error on the browser:

Uncaught TypeError: ref.putString is not a function
mutlucan96
  • 407
  • 1
  • 5
  • 12

1 Answers1

1

For posterity: putString() was implemented in 3.3.0 as per the changelog.

Mike McDonald
  • 15,609
  • 2
  • 46
  • 49