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
Hi, I am trying to use this library within react-native to upload images to Azure blob storage. I ran into the following issues (with some suggestions)
crypto is included but never used. This results in transpiling issues as RN does not support native modules. I think this line should be removed as the crypto module is never used. (usage of a simple linter with pre-commit could solve issues like these in development phase)
util and events are node core module which don't get transpiled and throws errors. Not sure what would be the best way to go about this. One idea would be use ES6 classes which would remove the dependency on util but we would still have a dep on events.
Would love to hear your thoughts about this.
P.S: The official azure sdk also doesn't support React Native yet. Azure/azure-sdk-for-js#5771 I did not come across any existing libraries that support azure storage in RN yet.
The text was updated successfully, but these errors were encountered:
Hi, I am trying to use this library within react-native to upload images to Azure blob storage. I ran into the following issues (with some suggestions)
crypto
is included but never used. This results in transpiling issues as RN does not support native modules. I think this line should be removed as the crypto module is never used. (usage of a simple linter with pre-commit could solve issues like these in development phase)util
andevents
are node core module which don't get transpiled and throws errors. Not sure what would be the best way to go about this. One idea would be use ES6 classes which would remove the dependency onutil
but we would still have a dep on events.Would love to hear your thoughts about this.
P.S: The official azure sdk also doesn't support React Native yet. Azure/azure-sdk-for-js#5771 I did not come across any existing libraries that support azure storage in RN yet.
The text was updated successfully, but these errors were encountered: