Discussion Forums  >  Self Hosted Control Panels

Replies: 2    Views: 169

piggilypoo
Aspiring developer
Profile
Posts: 172
Reg: Jun 28, 2011
San Diego
5,120
07/18/14 09:52 AM (10 years ago)

3.0 Android Push Notifications

Does anyone have push notifications working in self hosted 3.0 for android? I show devices as registered with tokens.. and when I send push notifications it says they sent. However, my device never receives the push notification. Push is enabled in the core properties of my app, and everything is right in the project files. Not sure why they aren't getting through. I've contacted my host and had the proper ports opened and made sure cURL is enabled. Not sure what else I'm missing. I'd like to avoid using 3rd party solutions like parse, scringo, etc for push.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
07/18/14 11:26 AM (10 years ago)
Did you register for design or live mode and send the message with whatever status you registered your app with?
 
piggilypoo
Aspiring developer
Profile
Posts: 172
Reg: Jun 28, 2011
San Diego
5,120
like
07/18/14 11:32 AM (10 years ago)
Yea I sent the push to both design and live. I had my host open the following ports: 5228 5229 5230 5223 2195 2196 443 here are the firewall rules: iptables -L -v -n | egrep 5228\|5229\|5230\|5223\|2195\|2196\|443 | egrep -v udp 921 50784 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:443 0 0 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:5223 499 29940 ACCEPT tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:443 0 0 ACCEPT tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:2195 1 60 ACCEPT tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:2196 0 0 ACCEPT tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:5223 0 0 ACCEPT tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:5228 0 0 ACCEPT tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:5229 0 0 ACCEPT tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:5230 0 0 ACCEPT tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:2195
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.