skip to Main Content

Upload to firebase storage returns TypeError: Network request failed

I'm trying to upload an image to my firebase storage with this code async function uploadData() { console.log('good job') const randomName = Math.random().toString(36) const uri = image; setUploading(true) console.log(image) const childPath = firebase.storage().ref().child('drivers').child('truck').child(randomName) const response = await fetch(image) const blob…

VIEW QUESTION

Firebase – I can't get access to the file or 'READ_EXTERNAL_STORAGE' by Karumi Dexter. It is working till Sdk-32 properly but it's not working on 33

Function for choosing video . private void ChooseVideo(){ Dexter.withContext(this) .withPermission(Manifest.permission.READ_EXTERNAL_STORAGE) .withListener(new PermissionListener() { @Override public void onPermissionGranted(PermissionGrantedResponse response) { Intent intent = new Intent( ); //new line added intent.addCategory(Intent.CATEGORY_OPENABLE); intent.setType( "video/*" ); intent.setAction( Intent.ACTION_GET_CONTENT ); startActivityForResult( intent,102 ); } @Override…

VIEW QUESTION
Back To Top
Search