Custome Audio Sound With Local Notification

Am sending local notification from device only. My requirement is to play custom 23 sec audio in place of default notification sound. I have made a temporary fix by playing audio just after notification fire but it only works when app is running in foreground.
Please help if anyone has done this thing . Am using the IONIC 5 , Coredova and Angular 10.
Thank you