Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
IOS custom push sound when app is in background #175
It has something to do with what IOS thinks my root folder is and what cordova thinks my root folder is.
The following works when I store alarm.caf in the www folder: (works when app is in forground but not when app is in background)
This change below makes it work when the app is in the background but not when it is in the forground:
@tmakaro Yeah, iOS assumes that the sound file is in root folder of your app. Using:
Should work in both background and foreground.