Page 1 of 1

IOS custom push notification sound

Posted: Tue May 01, 2018 9:43 am
by Yahya

Good day

In resources v5 the files and folders structure is different iam able to follow the custom sound for android but for ios I don't know where to put my wav sound file. The documentation is talking about vesions before v4. Please explain where to put the ios push notification custom wav files.

Thank you.
Image


IOS custom push notification sound

Posted: Tue May 01, 2018 2:00 pm
by Illya Stepanov

Hello Yahya -

Please check our new Documentation section here: https://docs.appery.io/v2.4.0/docs/pu...


IOS custom push notification sound

Posted: Tue May 01, 2018 7:11 pm
by Yahya

Dear Illya, thank you for your advise, can you please give me a direct answer for both android and ios correct path of push notification custom sound files.

I read the documentation, but there is no cleae instruction.

Thank you


IOS custom push notification sound

Posted: Tue May 01, 2018 8:35 pm
by Illya Stepanov

You will need to upload the sound file to the following folders in Source view:
precode
source/CORDOVA/platforms/ios/platform_www/soundfilename.wav (for iOS) or source/CORDOVA/platforms/android/res/raw/soundfilename.wav (for Android)/code/pre

Keep in mind that there is no default raw folder in codesource/CORDOVA/platforms/android/res//code so you will need to create it first.

On the Push Notifications console and select Custom for the Sound file and enter the uploaded sound file name into the field provided.
For iOS, you need to specify the path: codewww/soundfilename.wav/code


IOS custom push notification sound

Posted: Wed May 02, 2018 6:54 am
by Yahya

Thank you very much, under testing now.