"android_sound": "push" // here you should specify the file name without extension here you need to specify the name for your channel with custom sound, for example, "push" for the notifications with push.wav sound. Using the Pushwoosh Control Panel, all you need to do is to specify the following parameter within the "Android root params filed" from the "Send push" form: Here are the steps below to send the push notification with custom sound to Andoird 8 devices: Starting from Android 8, in order to send the notification with your own custom sound, you need to create its own Notification Channel for each of them. The information about the necessary folder for other frameworks(Unity, Cordova etc) you can find in the respective guide for each of them. For the native Android framework, your files should be placed to /app/src/main/res/raw folder, for example. How to properly send a push notification with your own custom sound to Android 8+ devices?įirst of all, please make sure that you have placed your audio file to the necessary folder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |