Closed aquastartw closed 3 years ago
You have to import it like so import { EAzureBlobStorageFile } from 'react-native-azure-blob-storage';
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
Not able to upload with EAzureBlobStorageFile. Getting below exception. undefined is not an object (evaluating '_reactNativeAzureBlobStorage.EAzureBlobStorageFile.uploadFile') UploadFileToAzure$
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
See latest version and readme.md
Miss EAzureBlobStorageFile in https://github.com/Elijah23Johnson/react-native-azure-blob-storage#usage