PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → [WM24] PUSH Notifications
[WM24] PUSH Notifications
Iniciado por RobertLEO, jan., 03 2020 11:00 AM - 5 respostas
Membro registado
36 mensagems
Publicado em janeiro, 03 2020 - 11:00 AM
Hello guys, I am trying to make my application able to receive PUSH notifications and in order to do that I followed the instructions provided in the windev website, I signed and registered my app to firebase, added the json file, and input the code, but beyond that I am uncertain, do we really need an application server in order to send out notifications? And do we really need webdev on top of it as well?
Publicado em janeiro, 03 2020 - 12:28 PM
1) You need something connected to your system that can monitor the situations in which you will like to send the notification to the user (windows service, web service or executable of some kind on the server side) 2) you dont need WAS if you create a windows service or an executable to send the notifications, you do needed if you are making webservices with webdev (if you are making the webservices on other languages like C# you dont needed)
So everything depends on your needs and architecture, but something is 100% certain you do need something server side (you can make that in any language you want) to be able to send the notifications to the system and handle the ID of each device you are sending too.
Membro registado
36 mensagems
Publicado em janeiro, 03 2020 - 3:46 PM
Hello WindevCol,

Thanks for the response and is there any guide on how to set up a server in order to do that? I already have a cloud server prepped and ready, but not sure if it being Linux will be a problem or not

WindevCol wrote:
1) You need something connected to your system that can monitor the situations in which you will like to send the notification to the user (windows service, web service or executable of some kind on the server side) 2) you dont need WAS if you create a windows service or an executable to send the notifications, you do needed if you are making webservices with webdev (if you are making the webservices on other languages like C# you dont needed)
So everything depends on your needs and architecture, but something is 100% certain you do need something server side (you can make that in any language you want) to be able to send the notifications to the system and handle the ID of each device you are sending too.
Publicado em janeiro, 03 2020 - 4:28 PM
Linux is way more difficult than windows because you will need to develop your server side executable / daemon (instead of windows service) and webservices using php. + apache. I can see you have not much experience developing these kind of systems so i will strongly recommend that on your cloud server you will run Windows OS instead of Linux it will make things 1000 times easier for you.
Membro registado
12 mensagems
Publicado em janeiro, 04 2020 - 12:02 PM
I'm trying to avoid the webservice too, I'll keep you posted
Membro registado
36 mensagems
Publicado em janeiro, 06 2020 - 8:46 AM
even if I run windows server (and the option available is CLI only), I am not sure on where to go from there, as well as whether it is possible to install HFSQL on windows server without a GUI available

WindevCol wrote:
> Linux is way more difficult than windows because you will need to develop your server side executable / daemon (instead of windows service) and webservices using php. + apache. I can see you have not much experience developing these kind of systems so i will strongly recommend that on your cloud server you will run Windows OS instead of Linux it will make things 1000 times easier for you.