0

Can we use Mosquitto instead of https://fcm.googleapis.com/fcm/send to send push notification to android users from web server using php ? if possible then please explain in detail how ? I read many docs of mosquitto but didn't found that we can use this tech same as fcm.

Abhishek
  • 1,543
  • 3
  • 13
  • 29
Sujit Verma
  • 172
  • 1
  • 8
  • Nope, you can send only in your local network. Otherwise you need to swith to AWS mosquitto server or use your mosquitto server to public – Manoj Perumarath Mar 27 '19 at 07:32
  • I have installed Mosquitto-PHP on our server and its pub/sub working locally with .php file. As our server is already publicly accessible, so do we need to install any mosquitto library in android app to receive message ? – Sujit Verma Mar 27 '19 at 07:49
  • Try using some extension in Chrome and subscribe to that topic – Manoj Perumarath Mar 27 '19 at 07:57
  • It's possible, but android background execution limits still apply – Vygintas B Mar 27 '19 at 09:02

0 Answers0