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

Julio Cesar Sanchez Hernandez jusanche at redhat.com
Tue Mar 7 12:21:36 EST 2017


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 <dps.mobile.gpe at gmail.com> 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]
> <http:///user/SendEmail.jtp?type=node&node=1061&i=0>> 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]
>> <http:///user/SendEmail.jtp?type=node&node=1060&i=0>> 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
>> <http://aerogear-users.1116366.n5.nabble.com/Cordova-plugin-can-t-receive-push-notification-tp1059.html>
>> Sent from the aerogear-users mailing list archive
>> <http://aerogear-users.1116366.n5.nabble.com/> at Nabble.com.
>>
>> _______________________________________________
>> Aerogear-users mailing list
>>
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=1060&i=1>
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
>
>
> _______________________________________________
> Aerogear-users mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=1060&i=2>
> 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
> <http://aerogear-users.1116366.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> ------------------------------
> View this message in context: Re: [Aerogear-users] Cordova plugin can't
> receive push notification
> <http://aerogear-users.1116366.n5.nabble.com/Cordova-plugin-can-t-receive-push-notification-tp1059p1061.html>
>
> Sent from the aerogear-users mailing list archive
> <http://aerogear-users.1116366.n5.nabble.com/> at Nabble.com.
>
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20170307/5c513096/attachment-0001.html 


More information about the Aerogear-users mailing list