Open taheroo opened 2 years ago
:beetle: Description I like to let user play sound for his stored files in his device.
:beetle: What have you tried? I tried to use react-native-document-picker to get file path and use it with react-native-sound
:beetle: Please post your code:
const RESULT_FROM_DOCUMENT_PICKER = content://com.android.externalstorage.documents/document/primary%3ADownload%2FMusic%2FAbstract%20-%20Doctor%20Strange%20(Prod.%20MLTM).mp3 const sound = new Sound(RESULT_FROM_DOCUMENT_PICKER , error => callback(error, sound)); // returns error {"code": -1, "message": "resource not found"}
:bulb: Possible solution
Is your issue with...
Are you using...
react-native run-android
Which versions are you using?
Does the problem occur on...
If your problem is happening on a device, which device?
Did anyone solve this problem?
has anyone found any solution for this?
:beetle: Description I like to let user play sound for his stored files in his device.
:beetle: What have you tried? I tried to use react-native-document-picker to get file path and use it with react-native-sound
:beetle: Please post your code:
:bulb: Possible solution
Is your issue with...
Are you using...
react-native run-android
)Which versions are you using?
Does the problem occur on...
If your problem is happening on a device, which device?