Ionic 2 + One Signal for Notifications

Asked

Viewed 144 times

1

My Ionic plugin is already integrated with Firebase and One Signal, I can already work with login and password and send notifications.

My problem is customizing notifications.

In the sound field, I put the path to the file in three ways and none worked

1 - <project-root>/platforms/android/res/raw/sound.ogg
2 - /platforms/android/res/raw/sound.ogg
2 - platforms/android/res/raw/sound.ogg

I did it the way it is in the documentation.

https://documentation.onesignal.com/docs/customize-notification-sounds

  • Is being displayed some error?

  • Hi @Marcelodeandrade, then the notification is sent to the device, but I did not debug by browser, I will do this and put the result.

  • Verique, so it is easier to find the problem and consequently the solution. See if the notification is received either on the device or in the browser as well.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.