How can we use mosquitto to send push notification to android users from web server using php?How can I prevent SQL injection in PHP?Does Android support near real time push notification?Why is the Android emulator so slow? How can we speed up the Android emulator?How can I open a URL in Android's web browser from my application?Reference - What does this error mean in PHP?How can I send a Firebase Cloud Messaging notification without use the Firebase Console?Send notification from the server to user segment who installed the appAndroid push notification from php serverSend Push Notifications to Ionic app with TTLSend push notification on android and ios with Infusionsoft using php

Max Order of an Isogeny Class of Rational Elliptic Curves is 8?

Could one become a successful researcher by writing some really good papers while being outside academia?

Plausibility of Ice Eaters in the Arctic

How can you evade tax by getting employment income just in equity, then using this equity as collateral to take out loan?

Can I legally make a real mobile app based on a fictional app from a TV show?

Generator for parity?

How to vertically align the three columns of my table top, top, middle

As a 16 year old, how can I keep my money safe from my mother?

What is my malfunctioning AI harvesting from humans?

Was the 2019 Lion King film made through motion capture?

English - Acceptable use of parentheses in an author's name

Why isn’t SHA-3 in wider use?

During the Space Shuttle Columbia Disaster of 2003, Why Did The Flight Director Say, "Lock the doors."?

In a topological space if there exists a loop that cannot be contracted to a point does there exist a simple loop that cannot be contracted also?

Why do oscilloscopes use SMPS instead of linear power supply?

Infeasibility in mathematical optimization models

How should an administrative assistant reply to student addressing them as "Professor" or "Doctor"?

Which I-94 date do I believe?

How quickly could a country build a tall concrete wall around a city?

What are good ways to improve as a writer other than writing courses?

What are these two characters marked red? い_める and いじめ_いよォ?

Is it okay for a ticket seller to grab a tip in the USA?

Strangeness with gears

How does The Fools Guild make its money?



How can we use mosquitto to send push notification to android users from web server using php?


How can I prevent SQL injection in PHP?Does Android support near real time push notification?Why is the Android emulator so slow? How can we speed up the Android emulator?How can I open a URL in Android's web browser from my application?Reference - What does this error mean in PHP?How can I send a Firebase Cloud Messaging notification without use the Firebase Console?Send notification from the server to user segment who installed the appAndroid push notification from php serverSend Push Notifications to Ionic app with TTLSend push notification on android and ios with Infusionsoft using php






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








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.










share|improve this question


























  • 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 at 7: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 at 7:49











  • Try using some extension in Chrome and subscribe to that topic

    – Manoj Perumarath
    Mar 27 at 7:57











  • It's possible, but android background execution limits still apply

    – Vygintas B
    Mar 27 at 9:02

















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.










share|improve this question


























  • 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 at 7: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 at 7:49











  • Try using some extension in Chrome and subscribe to that topic

    – Manoj Perumarath
    Mar 27 at 7:57











  • It's possible, but android background execution limits still apply

    – Vygintas B
    Mar 27 at 9:02













0












0








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.










share|improve this question
















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.







php android mosquitto phpmqtt






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 27 at 10:44









Abhishek

1,0528 silver badges21 bronze badges




1,0528 silver badges21 bronze badges










asked Mar 27 at 7:29









Sujit VermaSujit Verma

1057 bronze badges




1057 bronze badges















  • 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 at 7: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 at 7:49











  • Try using some extension in Chrome and subscribe to that topic

    – Manoj Perumarath
    Mar 27 at 7:57











  • It's possible, but android background execution limits still apply

    – Vygintas B
    Mar 27 at 9:02

















  • 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 at 7: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 at 7:49











  • Try using some extension in Chrome and subscribe to that topic

    – Manoj Perumarath
    Mar 27 at 7:57











  • It's possible, but android background execution limits still apply

    – Vygintas B
    Mar 27 at 9:02
















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 at 7:32





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 at 7: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 at 7:49





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 at 7:49













Try using some extension in Chrome and subscribe to that topic

– Manoj Perumarath
Mar 27 at 7:57





Try using some extension in Chrome and subscribe to that topic

– Manoj Perumarath
Mar 27 at 7:57













It's possible, but android background execution limits still apply

– Vygintas B
Mar 27 at 9:02





It's possible, but android background execution limits still apply

– Vygintas B
Mar 27 at 9:02












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55371867%2fhow-can-we-use-mosquitto-to-send-push-notification-to-android-users-from-web-ser%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55371867%2fhow-can-we-use-mosquitto-to-send-push-notification-to-android-users-from-web-ser%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript