apache / apache/cordova-plugin-file-transfer

Upload was not working in API level 32 in Android

Open
#356 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
606
Forks
874
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/62456652/207274636-b58028d3-5b27-4a85-82a2-c78105af6416.png)

Getting this error when we are trying to upload a file to server
Tried placing android:requestLegacyExternalStorage="true" , but no use

am using Ionic
![image_2022_12_13T09_11_39_118Z](https://user-images.githubusercontent.com/62456652/207275809-010e593d-2c74-49d6-be54-2ada00455390.png)

Please help if any one has solution for this

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the file upload on Android API level 32 in the Ionic app and inspect the error shown in the attached screenshots. Compare behavior with and without android:requestLegacyExternalStorage="true"; done means a file uploads successfully to the server on API level 32.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.