Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
pdiogo
@PedroMD
I do not, thats what I wanted to confirm :)
Ben Rondeau
@benrondeau
Sorry, I won't be able to confirm that.
pdiogo
@PedroMD
no problem, I will probably do it in a few days
will report it back to yo then
Irfan
@irfan-sabir
hi i am using ionic push notification, push notification working on my web browser, but on emulator and real device of android device token not generating also not saving users on ionic dashboard
Ben Rondeau
@benrondeau
When you send a push notification, what response do you get?
Ifemide
@bwoodlt
Hi. I'm also having similar issue - I could send a dev_push but cant send live. Keep getting this: Error: undefined is not an object (evaluating '$window.plugins.pushNotification')
Any pointers?
Ben Rondeau
@benrondeau
Can you provide the relevant code? It appears that the pushNotification is not present (undefined)
Ifemide
@bwoodlt
sure
here: $ionicPush.register({}).then(function(token) {
    console.log(token);
  $ionicPlatform.ready(function() {

      // Get data from the server
      var option = {
        deviceToken: token,
        appId: '74xxxxx',
        apiSecret: '4970b72dca78ed0a4bfd5442ad15849ab2142xxxxxxxxx',
        staff_id: order.staff_id
      };
    console.log('ionicplatform ', option);
      MapServices.sendPushNotification(option).then(function(result) {
        console.log('Result ', result);
      }).catch(function(error) {
        console.log('Exception ', error);
      })
    })
  });
Seyaa
@moak
Hi, is there anyone here willing to help me to connect my ionic app with facebook ?
Ben Rondeau
@benrondeau
@moak This probably is not the best place to get that kind of help, but Ionic's forum would be: https://forum.ionicframework.com/
Ifemide
@bwoodlt
Does this support the ionic beta release?
Ben Rondeau
@benrondeau
Likely. Only way to know is to try it
Nicolas Iglesias
@webpolis
is it compatible with Ionic 1.2.4?
Ben Rondeau
@benrondeau
@webpolis I believe so, but the only way to know is try it out.
Tom Nguyen
@dohoangn
I try the sample code, seems like ionic server accept the message, but nothing sent to my device.
STATUS: 201
HEADERS: {"connection":"close","server":"nginx","date":"Wed, 20 Apr 2016 01:45:14 GMT","content-type":"application/json; charset=utf-8","content-length":"510","via":"1.1 vegur, 1.1 vegur","access-control-allow-credentials":"true","access-control-allow-methods":"HEAD,GET,POST,PATCH,PUT,DELETE,OPTIONS","access-control-allow-headers":"DNT,Authorization,X-CSRFToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type"}
BODY: {"meta": {"version": "2.0.0-beta.0", "request_id": "e3a7c3de-3d31-44d2-b59d-6837559244f2", "status": 201}, "data": {"state": "enqueued", "config": {"notification": {"ios": {"message": "Hello iOS!", "payload": {"baz": "boo"}}, "message": "Hello world!", "android": {"message": "Hello Android!", "payload": {"foo": "bar"}}, "title": "Hi"}, "profile": "lhebranch_development"}, "created": "2016-04-20T01:45:14.993307+00:00", "uuid": "f6e6a020-5bb7-4103-8d35-b245ed1cf9e1", "status": "open", "app_id": "xxxxxx"}}
It is working when I try sending message manually using the form at https://apps.ionic.io/app/4846fe6c/push/overview
can anyone make the api work so far?
jawaharsuga
@jawaharsuga
HI
Kashyap Mukkamala
@40x

Hi
I have a question regarding the action buttons that show up on push notifications

this is the data that I am sending to ionics server

  "send_to_all": true,
  "profile": "dev",
  "notification": {
    "title": "Hi",
    "message": "Hello world!",
    "sound": "default",
    "priority": 10,
    "ios": {
      "payload": {
        "category": "actionItems"
      },
      "content_available": true
    }
  }
}

I have the category set up in my push initialization

```var options = {
android: {
senderID: "1234"
},
ios: {
alert: true,
badge: true,
sound: true,
clearBadge: true,
categories: {
actionItems: {
yes: {
callback: '$window.show', title: 'Show',
foreground: true, destructive: false
},
no: {
callback: '$window.hide', title: 'Hide',
foreground: true, destructive: false
}
}
}
},
windows: {}
};

        $cordovaPushV5.initialize(options).then(function() {```

I get the push notification but I cannot slide it to see the options (Show/Hide)

any idea what I may be doing wrong

yoganandan
@yogai53
Hi All. I am trying to do ionic push. I am following their official docs. I could able to send the push for which i am getting success response. But my device actually doesnt get that message
Can some one help me. I will provide the necessary details that u want
RENAN.BASTOS
@renanbastos93
hello , I'm having trouble . Therefore, I can not make it work. I installed and everything but not knowing to use , anyone can help ?
Ben Rondeau
@benrondeau
@yogai53 and @renanbastos93 - we won't be able to help unless you post your relevant code and any server/error logs. If the Ionic API returns successful, than the problem is with your app.
RENAN.BASTOS
@renanbastos93
Well I just set up the node but not to getting by in ionic lock application. and the node it is giving so the console log and status 401 .
Ben Rondeau
@benrondeau
a 401 HTTP error means 'unauthorized'. Therefore the token you are sending is not being accepted by Ionic. See documentation here: http://docs.ionic.io/v2.0.0-beta/docs/push-sending-push#section-basic-api-usage
RENAN.BASTOS
@renanbastos93
Thank's
RENAN.BASTOS
@renanbastos93
Hello , the function worked, but I want to know how to get token of each User and store in database. to send when needed?
RENAN.BASTOS
@renanbastos93
Consegui, por o icone.
RENAN.BASTOS
@renanbastos93
como salvar o token de cada dispositovo dos usuario?
Phillip G. Bradford
@wonder-phil
Need insight on basic APNS push notifications for ionic - just in development mode - not through the App Store. How do I get the ionic app to appear on the list of apps on the Settings->Notifications list on an iPhone 6 ? The ionic examples don't seem to discuss
RENAN.BASTOS
@renanbastos93
How do I group notifications on Android ?
morris014
@morris014
hello anyone here who has experience in push notification
how can you handle push notification on click in ionic 1 thanks
using gcm service
@benrondeau hello anyone here who has experience in push notification
how can you handle push notification on click in ionic 1 thanks
using gcm service
Ben Rondeau
@benrondeau
No experience with that, sorry to say. Ionic's forum may help you get an answer though. https://forum.ionicframework.com/
Shinichi Kudo
@shinichikudodev
Hi, I was not able to get the push notification to work for android after following the guide
I keep getting GCM_INVALID_AUTH ... I setup everything correctly according to the guide (sender_id, ionic app_id, ionic push profile with correct api). Any advice?
rajnandan1
@rajnandan1
where can i find push usage?
reviloera
@reviloera
hello am getting this error {"error": {"message": "JWT decode error occurred.", "link": null, "type": "Unauthorized"}, "meta": {"status": 401, "version": "2.0.0-beta.0", "request_id": "885bf2c5-eae1-4ddb-ae16-b616d013e544"}}
reviloera
@reviloera
hey guys I think these guys are providing an excellent service https://onesignal.com/
ist amazing and its free
Sandesh
@SandeshSarfare
Hello there
I need to implement push notifications in ionic app, is ionic push free? if not where can I get the pricing?
Also which is the best service to implement chat in ionic ?
SiNa AgHaJaNi
@Sina7312
@SandeshSarfare I would go with fire base for chat and push notifications are free for less than 10k/month. pricing is here https://ionicframework.com/pricing
Muhammad Bilal
@beelaal
i want to send push notification through my website how i can setup this plugin for my website??
_
i am using push.js https://github.com/Nickersoft/push.js
Reynir
@reynirf
hey, where do I find my Ionic app credentials?