Device to device messaging

I want to send messages between say device A and device B…

I decided to do this on android studio and use FCM, problem is I had to have my own server, and I don’t know how to set up a server and there wasn’t any tutorials about it.

So I returned to coronalabs and decided to use it, I saw that “Parse” is a good option for me, although it requires to have a server too, but it seems like an easy thing to do through this tutorial https://github.com/ParsePlatform/parse-server

Am I on the right path ? is there another easy way to send messages between devices ? is Parse the right tool to do it ?

Thanks in advance…

I think Parse is a good option, but you might want to look at AutoLan, too. It’s a peer-to-peer library built on top of the socket.* library in Lua.

The original version isn’t supported any more but there is an update here by RoamingGamer: https://github.com/roaminggamer/AutoLan-IPv6

You will want to take a look at the demo main.lua in the original repo though, linked from the link above.

Does this require to have a server ? even a local one ?

What info(ip, ports, etc…) should I specify and where ?

Is there any api reference for this project ?

can it send info from one device to another ? how ?

Turns out that parse will be shut down in January 2017 so am moving to OneSignal,

so here I ask the same questions again,

will OneSignal achieve what I want?

does OneSignal require me to host an app server in order for it to operate ?

can OneSignal send messages between devices ? link to that part’s doc please…

If there is another plugin like photoncloud or something for achieving this, can you state them please ?

Thanks in advance

Parse’s server code can be downloaded for free from GitHub and hosted pretty much anywhere you like as it is a NodeJS app. If you already had data in their DB they even provide a migration tool. That gives you Parse on your own cloud instance with no chance of it shutting down. Of course, it won’t get upgrades either.

There is aways firebase https://marketplace.coronalabs.com/plugin/firebase

No push so you would have to use a service like one signal till, corona allows a certain feature( http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/17141393-add-string-xml-to-build-settings) and the rest of firebase features
can be added.

I guess you guys didn’t understand my problem,

my problem is with hosting, I don’t know how to host a server, I don’t know how to operate a server…

I wanted a service/plugin that would do that for me for free, actually I don’t care if it hosts a server or not but if it can achieve what I want (sending data/messages between devices) without a server or with their own server I am open for suggestions…

OneSignal does require a server for the client to send a message to another client,

Although Parse is releasing his server for public before shutting down, I don’t know how to host it and I followed the tutorial that explains how to host it locally, it just doesn’t seem to work (Whenever I press “POST” nothing happens, that means it doesn’t send data for the database)

I now consider using PlayFab, I really haven’t looked into it yet, but I’ve seen that it got something called Cloud Script which is hosted on their servers so am gonna look into it in more depth…

Until then can someone please tell me what service is the most suitable for my intention ? (my intention is sending messages or data between devices, like for example retrieving a longitude and a latitude and then sending it to another device)…

Thanks in advance…

I think Parse is a good option, but you might want to look at AutoLan, too. It’s a peer-to-peer library built on top of the socket.* library in Lua.

The original version isn’t supported any more but there is an update here by RoamingGamer: https://github.com/roaminggamer/AutoLan-IPv6

You will want to take a look at the demo main.lua in the original repo though, linked from the link above.

Does this require to have a server ? even a local one ?

What info(ip, ports, etc…) should I specify and where ?

Is there any api reference for this project ?

can it send info from one device to another ? how ?

Turns out that parse will be shut down in January 2017 so am moving to OneSignal,

so here I ask the same questions again,

will OneSignal achieve what I want?

does OneSignal require me to host an app server in order for it to operate ?

can OneSignal send messages between devices ? link to that part’s doc please…

If there is another plugin like photoncloud or something for achieving this, can you state them please ?

Thanks in advance

Parse’s server code can be downloaded for free from GitHub and hosted pretty much anywhere you like as it is a NodeJS app. If you already had data in their DB they even provide a migration tool. That gives you Parse on your own cloud instance with no chance of it shutting down. Of course, it won’t get upgrades either.

There is aways firebase https://marketplace.coronalabs.com/plugin/firebase

No push so you would have to use a service like one signal till, corona allows a certain feature( http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/17141393-add-string-xml-to-build-settings) and the rest of firebase features
can be added.

I guess you guys didn’t understand my problem,

my problem is with hosting, I don’t know how to host a server, I don’t know how to operate a server…

I wanted a service/plugin that would do that for me for free, actually I don’t care if it hosts a server or not but if it can achieve what I want (sending data/messages between devices) without a server or with their own server I am open for suggestions…

OneSignal does require a server for the client to send a message to another client,

Although Parse is releasing his server for public before shutting down, I don’t know how to host it and I followed the tutorial that explains how to host it locally, it just doesn’t seem to work (Whenever I press “POST” nothing happens, that means it doesn’t send data for the database)

I now consider using PlayFab, I really haven’t looked into it yet, but I’ve seen that it got something called Cloud Script which is hosted on their servers so am gonna look into it in more depth…

Until then can someone please tell me what service is the most suitable for my intention ? (my intention is sending messages or data between devices, like for example retrieving a longitude and a latitude and then sending it to another device)…

Thanks in advance…