Hi,
i need to make my app listen in the background on a port and receive a message via http protocol....how can i proceed? thanks
With message you are asking about notifications?
sorry, let me explain better....
I have some text that arrives to me via Http protocol on a certain port (... like 8080) and I have to read it...
What kind of text value is that?
JSON, Text, HTML or any other
There might be other ways (other than just constantly trying to GET after a specific interval?)
text type "GO1"...
Another / easier? way may be to send the value to a firebase project
Then use the apps firebase component and a dataChanged event to collect the message.
To use http, you would need to regularly poll the http site for the value, you cannot send the value to the app from the online resource, you have to fetch it.
[mod edit - username removed] how this text type looks?
Please, there is no need to tag any user in a topic they are participating in.
In any case, your enquiry makes no sense...
Would you explain more about the GO1 format?