Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49220

Ionic Push v2 api - push alerts have no sound or vibration

$
0
0

@OJCode14 wrote:

Following the instructions here http://docs.ionic.io/docs/push-sending-push#section-adding-custom-data-to-your-notifications

The docs specifcally say that if you don't include the sound property the default sound will be used. This doesn't seem to work. The push alerts make no sound.

Registering push:

var push = new Ionic.Push({
  "debug": true
});

push.register(function (token) {
   push.saveToken(token);
});

My notification object:

"notification": {
      "title": "My Title",
      "message": "test message",
       "ios": {
         "message": "test message"
       }
 }

Is there some critical step I'm missing here because it doesn't seem to be in the docs if there is?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49220

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>