Elijah23Johnson / react-native-azure-blob-storage

File Storage In Azure
8 stars 31 forks source link

EAzureBlobStorageFile doesn't exist #9

Closed aquastartw closed 3 years ago

aquastartw commented 4 years ago

Miss EAzureBlobStorageFile in https://github.com/Elijah23Johnson/react-native-azure-blob-storage#usage

Elijah23Johnson commented 4 years ago

You have to import it like so import { EAzureBlobStorageFile } from 'react-native-azure-blob-storage';

alanko0202 commented 4 years ago

You have to import it like so import { EAzureBlobStorageFile } from 'react-native-azure-blob-storage';

I have the same issue, using the react-native-azure-blob-storage (1.2.3) import { EAzureBlobStorageImage, EAzureBlobStorageFile } from 'react-native-azure-blob-storage'; It is undefined for both EAzureBlobStorageImage, EAzureBlobStorageFile.

It is working fine for me to upload image in npm version 1.2.1

SabyasachiP commented 4 years ago

Not able to upload with EAzureBlobStorageFile. Getting below exception. undefined is not an object (evaluating '_reactNativeAzureBlobStorage.EAzureBlobStorageFile.uploadFile') UploadFileToAzure$

alanko0202 commented 4 years ago

Not able to upload with EAzureBlobStorageFile. Getting below exception. undefined is not an object (evaluating '_reactNativeAzureBlobStorage.EAzureBlobStorageFile.uploadFile') UploadFileToAzure$

I had the same experience before. I made it works when changing the version to 1.2.1 in package.json

12

Elijah23Johnson commented 3 years ago

See latest version and readme.md