Closed ajoykarmakar closed 11 months ago
same issue, any idea?
I found a solution for this: go to file 'android/src/main/java/com/cinder92/musicfiles/RNReactNativeGetMusicFilesModule.java'. Then Change Cursor musicCursor = musicResolver.query(musicUri, STAR, selection, null, sortOrder); To Cursor musicCursor = musicResolver.query(musicUri, null, selection, null, sortOrder);
I found a solution for this: go to file 'android/src/main/java/com/cinder92/musicfiles/RNReactNativeGetMusicFilesModule.java'. Then Change Cursor musicCursor = musicResolver.query(musicUri, STAR, selection, null, sortOrder); To Cursor musicCursor = musicResolver.query(musicUri, null, selection, null, sortOrder);
It works for me, thanks
I found a solution for this: go to file 'android/src/main/java/com/cinder92/musicfiles/RNReactNativeGetMusicFilesModule.java'. Then Change Cursor musicCursor = musicResolver.query(musicUri, STAR, selection, null, sortOrder); To Cursor musicCursor = musicResolver.query(musicUri, null, selection, null, sortOrder);
Wow!! this is what works for me! Thanks a lot for this.
closing this in favor of https://github.com/cinder92/react-native-get-music-files/pull/108
Here is my log -