Hello, I have deployed UnifiedPush over Jboss 6.4, i can access admin ui and create new apps. I m trying to build a new app, in order to test push notifications from admin console.
I'm using PhoneGap and building for android platform. I'm executing it on Genymotion Android emulator. Downloaded google-services.json in www folder and installed plugin. From admin console no device is registered after app launch. Here is my index.html: http://pastebin.com/Z4n1hHWm What am i doing wrong? |
Hi, Do the Genymotion image you are using have google services installed? if not, the push notifications won't work on it. It's always best if you try push on real devices. On Thu, Nov 17, 2016 at 3:45 PM, falconea <[hidden email]> wrote: Hello, I have deployed UnifiedPush over Jboss 6.4, i can access admin ui and _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
By default Genymotion does not support push message because it does not have, Google "APIs", can you please try it on a real device or a Google emulator? On Thu, Nov 17, 2016 at 12:54 PM, Julio Cesar Sanchez Hernandez <[hidden email]> wrote:
-- -- Passos _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
Ok, just launched from real device but i get no registered device on admin console.
|
I'm getting this error on device:
ConnectException: failed to connect to localhost/127.0.0.1 (port 8080) after 30000ms: isConnected failed:ECONNREFUSED (Connection refused). Do you know why I can't connect to localhost? |
From where to where? If you are running something in your device/emulator pointing to the localhost, It's trying to access (whatever you are trying to connect) IN your device.On Thu, Nov 17, 2016 at 2:48 PM, falconea <[hidden email]> wrote: I'm getting this error on device: -- -- Passos _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
I have UnifiedPush running in localhost on my machine. So I'm trying to register a physical device to get notifications working.
How do i set up in order to connect to UnifiedPush (JBoss server) and comunicate with GCM? Is this scenario possible?
|
So, if you wanna your device connect in a instance running in your machine you need to point to your machine ip and not for localhost PS: Of course both need to be in the same networkOn Thu, Nov 17, 2016 at 3:06 PM, falconea <[hidden email]> wrote: I have UnifiedPush running in localhost on my machine. So I'm trying to -- -- Passos _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
Free forum by Nabble | Edit this page |