GitLiveApp / firebase-kotlin-sdk

A Kotlin-first SDK for Firebase
https://gitliveapp.github.io/firebase-kotlin-sdk/
Apache License 2.0
1.1k stars 154 forks source link

Add [class name].[function name] to [library name] for [platform names] #583

Open WHYTE100 opened 1 month ago

WHYTE100 commented 1 month ago
Library Class Member Platforms
e.g storage e.g FirebaseStorage e.g putBytes e.g Android, iOS, Web

Could you update FirebaseStorage to accept putBytes so that we can easily upload byte data (PlatformFile from io.github.vinceglb.filekit) to firebase storage?

deBasMan21 commented 1 month ago

It is already in there but under the name putData because its using different data types on different platforms. The Data type can be constructed on Android with ByteArray and on iOS with NSData so its usable for both platforms.