Skip to content

plans for supporting react-native? #74

@madhums

Description

@madhums

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)

  1. 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)
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions