push notifications

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
paulalsmith1000
Posts: 32
Joined: Sat Jun 15, 2019 10:09 am

push notifications

Post by paulalsmith1000 » Mon Nov 11, 2019 9:16 pm

Evening everyone

Just a quick question, I've been trawling the net for hours looking at push notifications and how to configure them with livecode, but frankly im still confused.

I basically wanted to use it like whats app so 2 way.

If anyone could point me in the right direction, I would be very grateful.

kind regards

Paul

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6264
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: push notifications

Post by dunbarx » Tue Nov 12, 2019 2:57 am

Hi.

Here is some unhelpful advice. Do an "advanced" search in the forums where "push notifications" is limited to the topic title.

Craig

paulalsmith1000
Posts: 32
Joined: Sat Jun 15, 2019 10:09 am

Re: push notifications

Post by paulalsmith1000 » Tue Nov 12, 2019 9:03 am

Hi dunbarx

Thanks for your reply, I had already done that.

To be more specific, the best information I can find is the seemingly out dated livecode lesson referring to GCM not FCM.

So, I looked more generally at how to set it for android phones, but all the other information talks about downloading the sdk, etc....

Am I right in assuming that because there is a "push sender ID" field in the stand alone settings for livecode, that this bit has already been done?

Kind regards

Paul

simon.schvartzman
Posts: 326
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: push notifications

Post by simon.schvartzman » Tue Nov 12, 2019 10:32 am

Hi paulalsmith1000, just in case you haven't seen it I started with the two useful lessons below (even though the Android one is outdated)

http://lessons.livecode.com/m/4069/l/53 ... -with-ios
and

http://lessons.livecode.com/m/4069/l/59 ... h-android

I don't do two way communication for now, just server to device but I guess adding some central DB to store the device's TokenIDs will do the trick.

Hope it helps.
Simon
________________________________________
To ";" or not to ";" that is the question

bogs
Posts: 3997
Joined: Sat Feb 25, 2017 10:45 pm

Re: push notifications

Post by bogs » Tue Nov 12, 2019 11:27 am

paulalsmith1000 wrote:
Tue Nov 12, 2019 9:03 am
Thanks for your reply, I had already done that.
Have you already tried this?
ksnip_siteSearch.png
...through the looking glass...
Image

Post Reply

Return to “Talking LiveCode”