Storage
You can use the following helper functions:
Files can be public or private. Public files can be accessed by anyone. Private files must can be accessed if one of the following conditions are met:
You use getFile(url) to create a temporary public link.
You use addUserToFile(url, uid) to allow a user to access the file, and they access the link with their access token appended as a query string (e.g.
?token=<user access token>
).
Last updated