I created a function called `playCustom' for IOS. This function takes a sound name ie. 'notification.wav' and passes it to the native side to handle. The native side will create a URL reference and generate a sound id. It then plays the sound in a similar manner as the default play. Check it out. You just need to place your file in the runner folder of the app.
I created a function called `playCustom' for IOS. This function takes a sound name ie. 'notification.wav' and passes it to the native side to handle. The native side will create a URL reference and generate a sound id. It then plays the sound in a similar manner as the default play. Check it out. You just need to place your file in the runner folder of the app.