Cordova plugin can't receive push notification

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Cordova plugin can't receive push notification

dpsMobile
I'm using the code from repo https://github.com/aerogear/aerogear-cordova-push/blob/master/example/index.html And on Aerogear Dashboard already have one device registered, but when try to send the notification never receive this notification on my app! Any suggestion to resolve this issue?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Aerogear-users] Cordova plugin can't receive push notification

Julio Cesar Sanchez Hernandez
Hi.

In which platform are you having problems to receive the push? Android? iOS?



On Mon, Mar 6, 2017 at 8:09 PM, dpsMobile <[hidden email]> wrote:
I'm using the code from repo https://github.com/aerogear/aerogear-cordova-push/blob/master/example/index.html And on Aerogear Dashboard already have one device registered, but when try to send the notification never receive this notification on my app! Any suggestion to resolve this issue?

View this message in context: Cordova plugin can't receive push notification
Sent from the aerogear-users mailing list archive at Nabble.com.

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users



_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Aerogear-users] Cordova plugin can't receive push notification

dpsMobile
On Android! In iOS I haven't tried!

On Tue, Mar 7, 2017 at 8:29 AM Julio Cesar Sanchez Hernandez [via aerogear-users] <[hidden email]> wrote:
Hi.

In which platform are you having problems to receive the push? Android? iOS?


On Mon, Mar 6, 2017 at 8:09 PM, dpsMobile <[hidden email]> wrote:
I'm using the code from repo https://github.com/aerogear/aerogear-cordova-push/blob/master/example/index.html And on Aerogear Dashboard already have one device registered, but when try to send the notification never receive this notification on my app! Any suggestion to resolve this issue?

View this message in context: Cordova plugin can't receive push notification
Sent from the aerogear-users mailing list archive at Nabble.com.

_______________________________________________
Aerogear-users mailing list

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users



If you reply to this email, your message will be added to the discussion below:
http://aerogear-users.1116366.n5.nabble.com/Cordova-plugin-can-t-receive-push-notification-tp1059p1060.html
To unsubscribe from Cordova plugin can't receive push notification, click here.
NAML
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Aerogear-users] Cordova plugin can't receive push notification

Julio Cesar Sanchez Hernandez
I've tried that code and it's working fine 
Did you replaced the configuration code with your own? The dashboard will provide it if you click " To see installation instructions and code snippet click here", it's something like. Make sure you remove the iOS part as you are not testing it for now and don't have values to fill it. Also, make sure you app id matches the id of the app you created on firebase console and that you downloaded the google-services.json for that app and put it on the www folder of your app.

pushServerURL: "https://yourpushseerver.com/",
      android: { 
        senderID: "YourSenderID",
        variantID: "YourVariantId",
        variantSecret: "YourVariantSecret"
      }

On Tue, Mar 7, 2017 at 10:07 AM, dpsMobile <[hidden email]> wrote:
On Android! In iOS I haven't tried!

On Tue, Mar 7, 2017 at 8:29 AM Julio Cesar Sanchez Hernandez [via aerogear-users] <[hidden email]> wrote:
Hi.

In which platform are you having problems to receive the push? Android? iOS?


On Mon, Mar 6, 2017 at 8:09 PM, dpsMobile <[hidden email]> wrote:
I'm using the code from repo https://github.com/aerogear/aerogear-cordova-push/blob/master/example/index.html And on Aerogear Dashboard already have one device registered, but when try to send the notification never receive this notification on my app! Any suggestion to resolve this issue?

View this message in context: Cordova plugin can't receive push notification
Sent from the aerogear-users mailing list archive at Nabble.com.

_______________________________________________
Aerogear-users mailing list

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users



If you reply to this email, your message will be added to the discussion below:
http://aerogear-users.1116366.n5.nabble.com/Cordova-plugin-can-t-receive-push-notification-tp1059p1060.html
To unsubscribe from Cordova plugin can't receive push notification, click here.
NAML


View this message in context: Re: [Aerogear-users] Cordova plugin can't receive push notification

Sent from the aerogear-users mailing list archive at Nabble.com.

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users



_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Loading...