Push Notification using Firebase

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
cusingerBUSCw5N
Posts: 339
Joined: Wed Jul 11, 2012 9:24 pm

Push Notification using Firebase

Post by cusingerBUSCw5N » Sun Feb 11, 2018 3:30 am

I have tried following the instructions for Push Notification (http://quality.livecode.com/show_bug.cgi?id=18075) using Google and Firebase and only receive "MismatchSenderID"

I have attached the sample code when Google was using GCM, with a change in the send address to https://fcm.googleapis.com/fcm/send

Do I have to change any of this code or have to add any sdk or other files to make this work?

I get the device to acknowledge that it is registered... and the senderIDs for both the device being registered and the app sending the message are the same....so I'm not sure what is mismatched.

Has anyone done this successfully? Thanks!
AndroidGCM.zip
(3.28 KiB) Downloaded 201 times

cusingerBUSCw5N
Posts: 339
Joined: Wed Jul 11, 2012 9:24 pm

Re: Push Notification using Firebase

Post by cusingerBUSCw5N » Sun Feb 18, 2018 4:59 pm

does the lack of response mean it can't be done?

Thanks

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

Re: Push Notification using Firebase

Post by bogs » Sun Feb 18, 2018 5:24 pm

Not necessarily, as there are many ways to do almost anything. I couldn't answer your question, though, since I don't have any familiarity with mobile of any kind, so in my case in this instance it is simply ignorance that prevents me from helping.

Other people more familiar with mobile dev. may not have encountered this particular problem, and therefore don't have a resolution to offer.

Alternately, they just might not have seen this thread, as different people view the forum in different ways.

My own take on it is that if there is sufficient will, there is *always* going to be a way to do something, and even if Lc's own language doesn't cover it, it allows you to delve into other languages such as .js to get something done as an example.

Hopefully this bump Image helps get the question to someone's attention that may have a better answer for you :)
Image

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: Push Notification using Firebase

Post by LiveCode_Panos » Tue Feb 20, 2018 5:40 pm

Hi all,

The lesson on How to use Push Notifications on Android (as wells the sample stack) has been updated:

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

Hope this helps,
Panos
--

Post Reply

Return to “Android Deployment”