react-native-sound icon indicating copy to clipboard operation
react-native-sound copied to clipboard

production apk not bundling .mp3 in raw folder

Open ghost opened this issue 7 years ago • 2 comments

I have bundled the sounds with my apk as instructed in manual in raw folder, whenever but the final apk instead of complete .mp3 file there is only probably link of the file i.e. the file size is only 2 bytes.

ghost avatar Feb 18 '19 13:02 ghost

This is probably due to setting shrinkResources true in build.gradle

RodneyOnyi avatar May 10 '19 20:05 RodneyOnyi

Hi, i tried to see if there was any such settings and there was not, surprisingly I was able to bundle .mp3 files if i pre-pend names with notification_

ghost avatar May 13 '19 07:05 ghost