Hello,
For developers confronted to this problem as I was, I share my findings…
The cause : It is due to the compression of the resources in the aab format.
Solution : Tell the bundle tool not to compress the audio resources.
Unfortunatly it is not easy to do…
You have to :
- Export your app as an Apk
- Follow the instructions of the “Manual way” of GitHub - sensei-z/APK2AAB: APK2AAB until the last one: ‘Compile aab’
- Before compiling the aab create a ‘BundleConfig.json’ file with the following content (exemple with ‘.oog’ files in assets):
{
“compression”: {
“uncompressedGlob”: [“assets/**.ogg”]
}
} - Run the compile aab command with additional option ’ --config=BundleConfig.json’
- Sign & upload your aab
- Enjoy!
Maybe one day, this will be included in Kodular code, but if you need to publish now, this might help.
Djam