Closed tamaker closed 9 years ago
Hi,
Firstly can you check that the file is included in the packaging options:
File / Properties / Build Packaging / Apple iOS / Package Contents
Make sure the caf file is selected.
Secondly, you are aware that the sound only plays when the notification is displayed while the application isn't running in the foreground. i.e. if you get the NOTIFICATION_DISPLAYED event no sound will be played.
Lastly can you send me your device console logs?
Cheers
Michael this works fine now.... thanks for your help with it.... seems to have been related to the update to latest air beta and inclusion of ios 8 sdk.
Ah good to hear,
Good luck with your app.
audible file (fx05.caf) not playing with local notification ane.
flash builder 4.6 premium, running latest air sdk beta and ios 8 running on an iphone 5s and ios 7.2.1 running on an iphone 4s. when using the mxml found below and exporting release build from mac book pro running mavericks (and including the ios8 sdk in the build) I dont get the audio file (taken from the ane example (fx05.caf) to play -- but notification shows fine and vibration works fine...just NOT the audible sound for the local notification.
the latest build (as of 10/18) installs file (prior to that in working with Michael on it, I had intstall problems / issues but they are worked out and now I just still dont get the sound to play at all.
heres the mxml Im using:
<?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView" creationComplete="init()">
/s:View