react-native-get-music-files: App crashes.
My app crashes when getAll function is called.
code am using
MusicFiles.getAll({
id : true,
blured : false,
artist : true,
duration : true, //default : true
cover : true, //default : true,
title : true,
cover : true,
date : true,
lyrics : true,
batchNumber : 5, //get 5 songs per batch
minimumSongDuration : 10000, //in miliseconds,
fields : ['title','artwork','duration','artist','genre','lyrics','albumTitle']
}).then(value=>{
console.log(value)
})
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 22 (6 by maintainers)
@mitalpatel5944 this doesnt work in android 10, tried in a emulator with android 10 and it crash just like in my device
@nirmalrizal53 On Android 6.0 and above you gotta manually grant permisson for reading and writing external files. Registing in manifest file is not enough.